]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
httpStatus(HTTP_ERROR) did not return a useful error message
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Tue, 25 Jun 2013 15:11:25 +0000 (15:11 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Tue, 25 Jun 2013 15:11:25 +0000 (15:11 +0000)
(<rdar://problem/14217326>)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11062 a1ca3aef-8c08-0410-bb20-df032aa958be

CHANGES-1.6.txt
cups/http-support.c

index 7e274ff5325c954769364735c9e452d7bbf19709..80775a79770e9f85ceb94106b9c6b757de8aed6d 100644 (file)
@@ -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
+         (<rdar://problem/14217326>)
        - Added documentation about the /version=1.1 option to ServerName in
          client.conf (<rdar://problem/14216262>)
        - The lp and lpr commands incorrectly ignored the default printer set
index ba504823d7d353fe416d1e31b604c2ac20b5987d..24664d3c9e4fc2cda768f34265d6cf6a07dd548c 100644 (file)
@@ -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;