httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@hyperreal.com>
Subject cvs commit: apache/src mod_cgi.c
Date Mon, 25 Nov 1996 13:32:50 GMT
ben         96/11/25 05:32:49

  Modified:    src       mod_cgi.c
  Log:
  Squash a warning.
  
  Revision  Changes    Path
  1.22      +1 -1      apache/src/mod_cgi.c
  
  Index: mod_cgi.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_cgi.c,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -C3 -r1.21 -r1.22
  *** mod_cgi.c	1996/11/25 11:22:00	1.21
  --- mod_cgi.c	1996/11/25 13:32:48	1.22
  ***************
  *** 432,438 ****
    		strncpy(dbuf + dbpos, argsbuffer, dbsize);
    		dbpos += dbsize;
    	    }
  ! 	    if (fwrite(argsbuffer, 1, len_read, script_out) < len_read) {
    		/* silly script stopped reading, soak up remaining message */
    	        while (get_client_block(r, argsbuffer, HUGE_STRING_LEN) > 0)
    	            ; /* dump it */
  --- 432,438 ----
    		strncpy(dbuf + dbpos, argsbuffer, dbsize);
    		dbpos += dbsize;
    	    }
  ! 	    if (fwrite(argsbuffer, 1, len_read, script_out) < (size_t)len_read) {
    		/* silly script stopped reading, soak up remaining message */
    	        while (get_client_block(r, argsbuffer, HUGE_STRING_LEN) > 0)
    	            ; /* dump it */
  
  
  

Mime
View raw message