You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
692 B
28 lines
692 B
Index: server_main.c |
|
--- server_main.c.orig 2005-09-13 16:00:14.000000000 +0200 |
|
+++ server_main.c 2005-09-15 07:07:33.070467000 +0200 |
|
@@ -145,6 +145,9 @@ |
|
openlog("citadel", LOG_NDELAY, 0); |
|
} |
|
else { |
|
+#ifndef LOG_PERROR |
|
+#define LOG_PERROR 0 |
|
+#endif |
|
openlog("citadel", LOG_PERROR|LOG_NDELAY, 0); |
|
} |
|
setlogmask(LOG_UPTO(verbosity)); |
|
Index: sysdep.c |
|
--- sysdep.c.orig 2005-11-16 03:18:42 +0100 |
|
+++ sysdep.c 2005-11-16 08:57:42 +0100 |
|
@@ -286,7 +286,10 @@ |
|
else { |
|
sin.sin_addr.s_addr = inet_addr(ip_addr); |
|
} |
|
- |
|
+ |
|
+#ifndef INADDR_NONE |
|
+#define INADDR_NONE 0xffffffff |
|
+#endif |
|
if (sin.sin_addr.s_addr == INADDR_NONE) { |
|
sin.sin_addr.s_addr = INADDR_ANY; |
|
}
|
|
|