Turn PARA_STRERROR into an inline function.
[paraslash.git] / http_send.c
index 28e245eae13ac6b7ce8e0a5f162ab88be52b5a60..e60b3f90f2853c6ff12f9958d642cb8b3e691e36 100644 (file)
@@ -364,7 +364,7 @@ static int open_tcp_port(int port)
        }
        ret = mark_fd_nonblocking(server_fd);
        if (ret < 0) {
-               PARA_EMERG_LOG("%s\n", PARA_STRERROR(-ret));
+               PARA_EMERG_LOG("%s\n", para_strerror(-ret));
                exit(EXIT_FAILURE);
        }
        self->status = SENDER_ON;