From: msweet Date: Tue, 25 Jun 2013 15:11:25 +0000 (+0000) Subject: httpStatus(HTTP_ERROR) did not return a useful error message X-Git-Tag: release-1.7rc1~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b63a0d90da23162fe2489a1200e745204cdc1155;p=thirdparty%2Fcups.git httpStatus(HTTP_ERROR) did not return a useful error message () git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11062 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/CHANGES-1.6.txt b/CHANGES-1.6.txt index 7e274ff532..80775a7977 100644 --- a/CHANGES-1.6.txt +++ b/CHANGES-1.6.txt @@ -5,6 +5,8 @@ CHANGES IN CUPS V1.6.3 - The configure script now prefers Clang over GCC. - Fixed a compile problem on AIX (STR #4307) + - httpStatus(HTTP_ERROR) did not return a useful error message + () - Added documentation about the /version=1.1 option to ServerName in client.conf () - The lp and lpr commands incorrectly ignored the default printer set diff --git a/cups/http-support.c b/cups/http-support.c index ba504823d7..24664d3c9e 100644 --- a/cups/http-support.c +++ b/cups/http-support.c @@ -1340,6 +1340,9 @@ httpStatus(http_status_t status) /* I - HTTP status code */ switch (status) { + case HTTP_STATUS_ERROR : + s = strerror(errno); + break; case HTTP_STATUS_CONTINUE : s = _("Continue"); break;