Filed as the following Apple bug report: <rdar://problem/14217326> cups.org: Useless error message in http-support.c
I don't think we'll use the proposed patch, but we can come up with something... On 2013-06-11, at 8:24 AM, Didier 'OdyX' Raboud <didier.rab...@liip.ch> wrote: > Control: severity -1 wishlist > > Hi ael, > > I can confirm this patch would still apply in cups 1.6.2. > > Le samedi, 15 octobre 2011 23.32:13, ael a écrit : >> I am trying to locate a bug in cups which currently looks like a >> broken pipe. After attempts to write to a socket, an http status >> of HTTP_ERROR is returned which does not have a case in the relevant >> switch statement in cups/http-support.c. >> >> As a result, the unhelpful default message "Unknown" is passed back to the >> user who is none the wiser. >> >> The attached patch improves the default message, and adds an extra >> branch for HTTP_ERROR. There should perhaps be further cases for >> other values in http.h which are not covered explicitly. > > Michael: this patch [0] could be of interest to you. > > Cheers, > > Didier > > [0] http://bugs.debian.org/cgi- > bin/bugreport.cgi?msg=5;filename=http_errormsg.patch;att=1;bug=645436 _________________________________________________________ Michael Sweet, Senior Printing System Engineer, PWG Chair -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org