Check-in [0a14f18111]
Not logged in
Overview

SHA1 Hash:0a14f18111c9ea0b94f43026c2d4f2d61de79b80
Date: 2008-05-14 12:21:23
User: drh
Comment:Return a proper error message if the first line of an HTTP requested handed to the "http" command is blank.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/cgi.c from [651d100b98] to [52f3e41396].

@@ -83,12 +83,12 @@
 ** Blob structures then output sequentially once everything has been
 ** built.
 **
 ** The cgi_destination() interface switch between the buffers.
 */
-static Blob *pContent;
 static Blob cgiContent[2] = { BLOB_INITIALIZER, BLOB_INITIALIZER };
+static Blob *pContent = &cgiContent[0];
 
 /*
 ** Set the destination buffer into which to accumulate CGI content.
 */
 void cgi_destination(int dest){