Diff
Not logged in

Differences From:

File src/cgi.c part of check-in [6af8fdc230] - Generate CGI replies as separate header and body so that the header can be extended during the construction of the body. by drh on 2007-12-04 13:05:35. Also file src/cgi.c part of check-in [b312f5ff5b] - Merge in some changes to the CGI reply generator that we made back in early December but got lost on an abandoned branch. Distributed version control is nice, but it also leaves open the real danger of losing changes this way. We need to work on interface features to minimize the risk of losing changes like this, and to identify lost changes quickly. by drh on 2008-02-03 02:41:50. [view]

To:

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]

@@ -269,9 +269,9 @@
 /*
 ** Do a normal HTTP reply
 */
 void cgi_reply(void){
-  int total_size;
+  int total_size = 0;
   if( iReplyStatus<=0 ){
     iReplyStatus = 200;
     zReplyStatus = "OK";
   }