Loosing the printers at cups 1.2 snapshot r4535

Anonymous anonymous at easysw.com
Sat Jun 18 05:12:47 PDT 2005


> Index: scheduler/printers.c
> ===================================================================
> --- scheduler/printers.c        (revision 4535)
> +++ scheduler/printers.c        (working copy)
> @@ -830,7 +830,7 @@
>     linenum = 0;
>     p       = NULL;
>
> -  while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum))
> +  while (cupsFileGetConf(fp, name, sizeof(name), &value, &linenum))
>     {
>      /*
>       * Decode the directive...
>
> ====================================================================

I have done the change on the actuall version.
I changed line to name.
Now the printer is loaded but now:

D [18/Jun/2005:14:06:49 +0200] LoadAllPrinters: Loading printer A3...
d [18/Jun/2005:14:06:49 +0200] AddPrinter("A3")
E [18/Jun/2005:14:06:49 +0200] Syntax error on line 4 of printers.conf.

In my oppinion there is a lot broken, I open a str

regards
fraz




More information about the cups-devel mailing list