Index: scheduler/cups-polld.c =================================================================== --- scheduler/cups-polld.c (revision 7178) +++ scheduler/cups-polld.c (working copy) @@ -144,7 +144,7 @@ * Loop forever, asking for available printers and classes... */ - for (http = NULL;;) + for (http = NULL; !ferror(stderr);) { /* * Open a connection to the server... @@ -180,6 +180,8 @@ if (remain > 0 && !restart_polling) sleep(remain); } + + return (1); }