CHANGES IN CUPS V1.1.21rc1
+ - The scheduler did not properly parse name-based
+ BrowseRelay directives in the cupsd.conf file (STR
+ #711)
+ - The IPP backend now supports the following options in
+ the device URI: encryption, waitjob, and waitprinter
+ (STR #699)
- The parallel, serial, socket, and USB backends did not
return a non-zero exit status when a job failed to
print in the middle of sending it (STR #715)
/*
- * "$Id: conf.c,v 1.77.2.50 2004/04/20 13:40:30 mike Exp $"
+ * "$Id: conf.c,v 1.77.2.51 2004/05/13 20:22:01 mike Exp $"
*
* Configuration routines for the Common UNIX Printing System (CUPS).
*
if (value[0] == '*')
value ++;
+ strlcpy(name, value, sizeof(name));
+ if ((nameptr = strchr(name, ' ')) != NULL)
+ *nameptr = '\0';
+
relay->from.type = AUTH_NAME;
- relay->from.mask.name.name = strdup(value);
- relay->from.mask.name.length = strlen(value);
+ relay->from.mask.name.name = strdup(name);
+ relay->from.mask.name.length = strlen(name);
}
else
{
/*
- * End of "$Id: conf.c,v 1.77.2.50 2004/04/20 13:40:30 mike Exp $".
+ * End of "$Id: conf.c,v 1.77.2.51 2004/05/13 20:22:01 mike Exp $".
*/