chiark / gitweb /
Provide for a network initialization step
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 17 Nov 2013 11:34:52 +0000 (11:34 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 17 Nov 2013 11:34:52 +0000 (11:34 +0000)
clients/disorder.c
lib/common.h

index 949eacf7cb2a2dda9c49cf7399f852aff183ba6d..17676a6a575e9c1e7d22a3c051e6fa36a0ca288f 100644 (file)
@@ -864,6 +864,7 @@ int main(int argc, char **argv) {
   const char *user = 0, *password = 0;
 
   mem_init();
+  network_init();
 #if HAVE_PCRE_H
   /* garbage-collect PCRE's memory */
   pcre_malloc = xmalloc;
index 99f867162698946bfa680019fa1da58abfaad639..93dd4315a0c2bc862a6b22ef3dac60521de295a0 100644 (file)
@@ -31,6 +31,8 @@
 # define declspec(x)
 # define socket_error() (errno)
 # define system_error() (errno)
+# define network_init()
+
 #if HAVE_INTTYPES_H
 # include <inttypes.h>
 #endif