Diff
Not logged in

Differences From:

File src/cgi.c part of check-in [649dd8a6af] - got rid of '... might be used initialized' warnings by stephan on 2008-02-03 16:35:12. [view]

To:

File src/cgi.c part of check-in [0a14f18111] - Return a proper error message if the first line of an HTTP requested handed to the "http" command is blank. by drh on 2008-05-14 12:21:23. [view]

@@ -84,10 +84,10 @@
 ** 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.
 */