Tim Waugh cb06f2
diff -up cups-1.4b1/cups/http.c.wbuffer cups-1.4b1/cups/http.c
Tim Waugh cb06f2
--- cups-1.4b1/cups/http.c.wbuffer	2008-08-20 01:07:25.000000000 +0100
Tim Waugh cb06f2
+++ cups-1.4b1/cups/http.c	2008-11-12 09:13:29.000000000 +0000
Tim Waugh cb06f2
@@ -2166,7 +2166,7 @@ httpWrite2(http_t     *http,		/* I - Con
Tim Waugh 9310f5
 
Tim Waugh 9310f5
   if (length > 0)
Tim Waugh 9310f5
   {
Tim Waugh 9310f5
-    if (http->wused && (length + http->wused) > sizeof(http->wbuffer))
Tim Waugh 9310f5
+    if (http->wused && (length + http->wused) >= sizeof(http->wbuffer))
Tim Waugh 9310f5
     {
Tim Waugh cb06f2
       DEBUG_printf(("httpWrite2: Flushing buffer (wused=%d, length="
Tim Waugh cb06f2
                     CUPS_LLFMT ")\n", http->wused, CUPS_LLCAST length));