chiark / gitweb /
server/*.c: Don't try reading per-user configuration.
[disorder] / server / state.c
index 8a5b6cee1f6048304407ece0745d6d34be2b1fb1..63c7c4542fab4ee3a8bd5e77a0286d88a9501728 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * This file is part of DisOrder.
- * Copyright (C) 2004, 2005, 2007-2009 Richard Kettlewell
+ * Copyright (C) 2004, 2005, 2007-2009, 2012 Richard Kettlewell
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -171,7 +171,7 @@ void reset_sockets(ev_source *ev) {
   }
   /* if res is still set it needs freeing */
   if(res)
-    freeaddrinfo(res);
+    netaddress_freeaddrinfo(res);
 }
 
 /** @brief Reconfigure the server