httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@apache.org
Subject cvs commit: httpd-test/specweb99/specweb99-2.0 mod_specweb99.c
Date Wed, 30 Oct 2002 19:36:09 GMT
gregames    2002/10/30 11:36:09

  Modified:    specweb99/specweb99-2.0 mod_specweb99.c
  Log:
  returnHTMLPageWithBuffer:  let it seg fault if we screw up and don't pass
  in a buffer.  It eliminates a conditional branch, and might be faster to
  debug also.
  
  Revision  Changes    Path
  1.14      +1 -4      httpd-test/specweb99/specweb99-2.0/mod_specweb99.c
  
  Index: mod_specweb99.c
  ===================================================================
  RCS file: /home/cvs/httpd-test/specweb99/specweb99-2.0/mod_specweb99.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- mod_specweb99.c	30 Oct 2002 18:06:06 -0000	1.13
  +++ mod_specweb99.c	30 Oct 2002 19:36:09 -0000	1.14
  @@ -210,9 +210,6 @@
       apr_bucket *b1, *b2, *b3;
       apr_status_t rv;
   
  -    if (buf == NULL)
  -	buf = "Error: tried to send buffer but it is NULL";
  -
       bp_head = returnHTMLPageHead(r, buflen);
   
       bb = apr_brigade_create(r->pool, c->bucket_alloc);
  
  
  

Mime
View raw message