mirror of
https://github.com/rkd77/elinks.git
synced 2024-10-01 03:36:26 -04:00
[main] const in report_af_unix_error
This commit is contained in:
parent
a4c17adcc8
commit
07a3a19b75
@ -325,7 +325,7 @@ setsock_reuse_addr(int fd)
|
|||||||
#define CONNECT_TRIES_DELAY 50000
|
#define CONNECT_TRIES_DELAY 50000
|
||||||
|
|
||||||
static void
|
static void
|
||||||
report_af_unix_error(char *function, int error)
|
report_af_unix_error(const char *function, int error)
|
||||||
{
|
{
|
||||||
ERROR(gettext("The call to %s failed: %d (%s)"),
|
ERROR(gettext("The call to %s failed: %d (%s)"),
|
||||||
function, error, (char *) strerror(error));
|
function, error, (char *) strerror(error));
|
||||||
|
Loading…
Reference in New Issue
Block a user