[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cups-commit
Subject:    [cups.commit] [CUPS] r8724 - trunk/cups
From:       cups-dev () easysw ! com
Date:       2009-06-22 20:40:28
Message-ID: 9493-cups.commit () news ! easysw ! com
[Download RAW message or body]

Author: mike
Date: 2009-06-22 13:40:28 -0700 (Mon, 22 Jun 2009)
New Revision: 8724
Log:
Fix error handling in cupsGetResponse (STR #3231)


Modified:
   trunk/cups/http.h
   trunk/cups/request.c

Modified: trunk/cups/http.h
===================================================================
--- trunk/cups/http.h	2009-06-18 22:44:00 UTC (rev 8723)
+++ trunk/cups/http.h	2009-06-22 20:40:28 UTC (rev 8724)
@@ -4,7 +4,7 @@
  *   Hyper-Text Transport Protocol definitions for the Common UNIX Printing
  *   System (CUPS).
  *
- *   Copyright 2007 by Apple Inc.
+ *   Copyright 2007-2009 by Apple Inc.
  *   Copyright 1997-2007 by Easy Software Products, all rights reserved.
  *
  *   These coded instructions, statements, and computer programs are the

Modified: trunk/cups/request.c
===================================================================
--- trunk/cups/request.c	2009-06-18 22:44:00 UTC (rev 8723)
+++ trunk/cups/request.c	2009-06-22 20:40:28 UTC (rev 8724)
@@ -269,6 +269,7 @@
     if (status == HTTP_FORBIDDEN || status == HTTP_ERROR ||
 	status >= HTTP_SERVER_ERROR)
     {
+      httpFlush(http);
       _cupsSetHTTPError(status);
       break;
     }

_______________________________________________
cups-commit mailing list
cups-commit@easysw.com
http://lists.easysw.com/mailman/listinfo/cups-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic