diff options
Diffstat (limited to 'source/l/loudmouth/loudmouth.async_assertion.diff')
-rw-r--r-- | source/l/loudmouth/loudmouth.async_assertion.diff | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/source/l/loudmouth/loudmouth.async_assertion.diff b/source/l/loudmouth/loudmouth.async_assertion.diff new file mode 100644 index 000000000..bda1d19b1 --- /dev/null +++ b/source/l/loudmouth/loudmouth.async_assertion.diff @@ -0,0 +1,19 @@ +diff -urp loudmouth-1.4.3.OLD/loudmouth/lm-socket.c loudmouth-1.4.3/loudmouth/lm-socket.c +--- loudmouth-1.4.3.OLD/loudmouth/lm-socket.c 2008-10-29 12:29:16.000000000 -0400 ++++ loudmouth-1.4.3/loudmouth/lm-socket.c 2008-11-28 19:24:04.000000000 -0500 +@@ -1107,6 +1107,7 @@ lm_socket_create (GMainContext *con + _lm_socket_create_phase1 (socket, NULL, 0); + } + ++#ifndef HAVE_ASYNCNS + if (socket->connect_data == NULL) { + /* Open failed synchronously, probably a DNS lookup problem */ + lm_socket_unref(socket); +@@ -1118,6 +1119,7 @@ lm_socket_create (GMainContext *con + + return NULL; + } ++#endif + + + /* If the connection fails synchronously, we don't want to call the |