packages: loudmouth/loudmouth-async_crash.patch (NEW) - don't check for syn...

megabajt megabajt at pld-linux.org
Fri Oct 23 18:37:26 CEST 2009


Author: megabajt                     Date: Fri Oct 23 16:37:26 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- don't check for sync dns problems when using asyncns

---- Files affected:
packages/loudmouth:
   loudmouth-async_crash.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/loudmouth/loudmouth-async_crash.patch
diff -u /dev/null packages/loudmouth/loudmouth-async_crash.patch:1.1
--- /dev/null	Fri Oct 23 18:37:26 2009
+++ packages/loudmouth/loudmouth-async_crash.patch	Fri Oct 23 18:37:20 2009
@@ -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
================================================================


More information about the pld-cvs-commit mailing list