cups/cups-1.3.7-configfile_NoBrowseAddress.patch

17 lines
433 B
Diff

--- cups-1.3.7/scheduler/conf.c.orig 2008-06-04 11:05:04.000000000 +0200
+++ cups-1.3.7/scheduler/conf.c 2008-06-04 11:26:14.000000000 +0200
@@ -2298,6 +2298,13 @@
memset(dira, 0, sizeof(cupsd_dirsvc_addr_t));
+ if (!value)
+ {
+ cupsdLogMessage(CUPSD_LOG_ERROR,
+ "No BrowseAdress given at line %d.", linenum);
+ continue;
+ }
+
if (!strcasecmp(value, "@LOCAL"))
{
/*