httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Terbush <ra...@hyperreal.com>
Subject cvs commit: apache/src mod_cgi.c
Date Tue, 17 Dec 1996 22:13:09 GMT
randy       96/12/17 14:13:08

  Modified:    src       mod_cgi.c
  Log:
  Make this more clear.
  
  Revision  Changes    Path
  1.25      +5 -2      apache/src/mod_cgi.c
  
  Index: mod_cgi.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_cgi.c,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -C3 -r1.24 -r1.25
  *** mod_cgi.c	1996/12/17 20:42:38	1.24
  --- mod_cgi.c	1996/12/17 22:13:06	1.25
  ***************
  *** 426,434 ****
                    get_client_block(r, argsbuffer, HUGE_STRING_LEN)) > 0)
    	{
    	    if (conf->logname) {
  ! 		if ((dbpos + len_read) > conf->bufbytes)
    		    dbsize = conf->bufbytes - dbpos;
  ! 		else dbsize = len_read;
                    reset_timeout(r);
                    memcpy(dbuf + dbpos, argsbuffer, dbsize);
    		dbpos += dbsize;
  --- 426,437 ----
                    get_client_block(r, argsbuffer, HUGE_STRING_LEN)) > 0)
    	{
    	    if (conf->logname) {
  ! 		if ((dbpos + len_read) > conf->bufbytes) {
    		    dbsize = conf->bufbytes - dbpos;
  ! 		}
  !                 else {
  !                     dbsize = len_read;
  !                 }
                    reset_timeout(r);
                    memcpy(dbuf + dbpos, argsbuffer, dbsize);
    		dbpos += dbsize;
  
  
  

Mime
View raw message