SOURCES: cups-str1670.patch (NEW) - fix for 'browsing stops on rel...
charles
charles at pld-linux.org
Sat May 20 06:30:07 CEST 2006
Author: charles Date: Sat May 20 04:30:07 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix for 'browsing stops on reload' (STR #1670)
---- Files affected:
SOURCES:
cups-str1670.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/cups-str1670.patch
diff -u /dev/null SOURCES/cups-str1670.patch:1.1
--- /dev/null Sat May 20 06:30:07 2006
+++ SOURCES/cups-str1670.patch Sat May 20 06:30:02 2006
@@ -0,0 +1,12 @@
+--- cups-1.2.x/scheduler/dirsvc.c.str1670 2006-05-18 13:48:42.000000000 +0100
++++ cups-1.2.x/scheduler/dirsvc.c 2006-05-18 13:49:45.000000000 +0100
+@@ -2596,7 +2596,8 @@
+ cupsdLogMessage(CUPSD_LOG_DEBUG2,
+ "cupsdSendBrowseList: (%d bytes) %s", bytes, packet);
+
+- if (sendto(BrowseSocket, packet, bytes, 0,
++ if (BrowseSocket != -1 &&
++ sendto(BrowseSocket, packet, bytes, 0,
+ (struct sockaddr *)&(b->to),
+ sizeof(struct sockaddr_in)) <= 0)
+ {
================================================================
More information about the pld-cvs-commit
mailing list