SOURCES: cups-str1776.patch (NEW) - fixed cupsd network default pr...

charles charles at pld-linux.org
Sun Jun 18 10:32:09 CEST 2006


Author: charles                      Date: Sun Jun 18 08:32:09 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixed cupsd network default printer crash (STR #1776)

---- Files affected:
SOURCES:
   cups-str1776.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/cups-str1776.patch
diff -u /dev/null SOURCES/cups-str1776.patch:1.1
--- /dev/null	Sun Jun 18 10:32:09 2006
+++ SOURCES/cups-str1776.patch	Sun Jun 18 10:32:04 2006
@@ -0,0 +1,11 @@
+--- cups-1.2.1/scheduler/printers.c.orig	2006-05-16 21:47:26.000000000 +0200
++++ cups-1.2.1/scheduler/printers.c	2006-06-18 10:22:03.525788250 +0200
+@@ -665,7 +665,7 @@
+ 	   dp = (cupsd_printer_t *)cupsArrayNext(Printers))
+ 	if (dp != p && (dp->type & CUPS_PRINTER_DEFAULT))
+ 	{
+-	  DefaultPrinter = p;
++	  DefaultPrinter = dp;
+ 	  break;
+ 	}
+     }
================================================================


More information about the pld-cvs-commit mailing list