Forgot to actually include config.h
authorMyhailo Danylenko <isbear@ukrpost.net>
Wed, 20 Jan 2010 20:04:13 +0200
changeset 23 63a8b60efcb2
parent 22 6d0d6bbf98d0
child 24 220a7d7b8be0
Forgot to actually include config.h
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
 	}