[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#645436: cups: Useless error message in http-support.c



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

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: