diff -r 6d0d6bbf98d0 -r 63a8b60efcb2 disco.c --- a/disco.c Wed Jan 20 19:59:55 2010 +0200 +++ b/disco.c Wed Jan 20 20:04:13 2010 +0200 @@ -35,6 +35,8 @@ #include "disco.h" +#include "config.h" + // // private types // @@ -554,7 +556,7 @@ lm_message_handler_invalidate (handler); #ifdef HAVE_LM_CONNECTION_UNREGISTER_REPLY_HANDLER if (lconnection) - lm_connection_unregister_reply_handler (handler); + lm_connection_unregister_reply_handler (lconnection, handler); #endif }