X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/de37b64085838de48894200ae2b9d49417668a76..5dba54ab01bce6ca8a6f1fd64b46cd304501b596:/server/state.c diff --git a/server/state.c b/server/state.c index 8a5b6ce..63c7c45 100644 --- a/server/state.c +++ b/server/state.c @@ -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