CGI was currently running.
- cupsParseOptions() now sets boolean options to
option=true or option=false.
+ - The "percent complete" calculations in the LPD backend
+ could overflow on large files, causing the percentage
+ to wrap to 0 every 40MB or so.
CHANGES IN CUPS V1.1.6-3
/*
- * "$Id: lpd.c,v 1.26 2001/03/06 16:06:05 mike Exp $"
+ * "$Id: lpd.c,v 1.27 2001/03/08 14:40:53 mike Exp $"
*
* Line Printer Daemon backend for the Common UNIX Printing System (CUPS).
*
while ((nbytes = fread(buffer, 1, sizeof(buffer), fp)) > 0)
{
fprintf(stderr, "INFO: Spooling LPR job, %u%% complete...\n",
- (unsigned)(100 * tbytes / filestats.st_size));
+ (unsigned)(100.0f * tbytes / filestats.st_size));
if (lpd_write(fd, buffer, nbytes) < nbytes)
{
/*
- * End of "$Id: lpd.c,v 1.26 2001/03/06 16:06:05 mike Exp $".
+ * End of "$Id: lpd.c,v 1.27 2001/03/08 14:40:53 mike Exp $".
*/