You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by da...@apache.org on 2001/10/30 16:57:01 UTC

cvs commit: tcl-rivet/src mod_rivet.c

davidw      01/10/30 07:57:01

  Modified:    src      mod_rivet.c
  Log:
  Cast a few things to (int) to get rid of compiler warnings.
  Added error check of ApacheRequest___Parse.
  
  Revision  Changes    Path
  1.5       +3 -2      tcl-rivet/src/mod_rivet.c
  
  Index: mod_rivet.c
  ===================================================================
  RCS file: /home/cvs/tcl-rivet/src/mod_rivet.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- mod_rivet.c	2001/10/27 13:15:13	1.4
  +++ mod_rivet.c	2001/10/30 15:57:01	1.5
  @@ -57,7 +57,7 @@
    * originally written at the National Center for Supercomputing Applications,
    * University of Illinois, Urbana-Champaign.  */
   
  -/* $Id: mod_rivet.c,v 1.4 2001/10/27 13:15:13 davidw Exp $  */
  +/* $Id: mod_rivet.c,v 1.5 2001/10/30 15:57:01 davidw Exp $  */
   
   /* mod_rivet.c by David Welton <da...@apache.org> - originally mod_include.  */
   /* See http://tcl.apache.org/mod_rivet/credits.ttml for additional credits. */
  @@ -496,7 +496,8 @@
       }
   #endif
   
  -    ApacheRequest___parse(globals->req);
  +    if ((errstatus = ApacheRequest___parse(globals->req)) != OK)
  +	return errstatus;
   
       /* take results and create tcl variables from them */
   #if USE_ONLY_VAR_COMMAND == 0