SHA256
1
0
forked from pool/pidgin
pidgin/pidgin-directconn-argfix.patch

23 lines
831 B
Diff
Raw Normal View History

diff --git a/libpurple/protocols/msn/directconn.c b/libpurple/protocols/msn/directconn.c
index e4f3d5d..93a978a 100644
--- a/libpurple/protocols/msn/directconn.c
+++ b/libpurple/protocols/msn/directconn.c
@@ -27,6 +27,7 @@
#include "slp.h"
#include "slpmsg.h"
+#include <eventloop.h>
/**************************************************************************
* Directconn Specific
**************************************************************************/
@@ -413,7 +414,8 @@ directconn_connect_cb(gpointer data, gint source, const gchar *error_message)
if (error_message)
purple_debug_error("msn", "Error making direct connection: %s\n", error_message);
- connect_cb(data, source, PURPLE_INPUT_READ);
+ /* connect_cb(data, source, PURPLE_INPUT_READ); */
+ connect_cb(data, source, error_message);
}
gboolean