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 2004/11/03 16:21:55 UTC

cvs commit: tcl-rivet/src mod_rivet.c

davidw      2004/11/03 07:21:55

  Modified:    .        ChangeLog
               src      mod_rivet.c
  Log:
  * src/mod_rivet.c (Rivet_ServerConf): Instead of just "on", accept
    "yes" and "1" as well.
  
  Revision  Changes    Path
  1.197     +5 -0      tcl-rivet/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /home/cvs/tcl-rivet/ChangeLog,v
  retrieving revision 1.196
  retrieving revision 1.197
  diff -u -r1.196 -r1.197
  --- ChangeLog	29 Oct 2004 22:45:31 -0000	1.196
  +++ ChangeLog	3 Nov 2004 15:21:55 -0000	1.197
  @@ -1,3 +1,8 @@
  +2004-11-03  David N. Welton  <da...@dedasys.com>
  +
  +	* src/mod_rivet.c (Rivet_ServerConf): Instead of just "on", accept
  +	"yes" and "1" as well.
  +
   2004-10-29  Karl Lehenbauer  <ka...@sc.com>
   
           * rivet/packages/dio/dio_Mysql.tcl: The "DIO handle" method, which
  
  
  
  1.76      +2 -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.75
  retrieving revision 1.76
  diff -u -r1.75 -r1.76
  --- mod_rivet.c	30 Sep 2004 12:42:23 -0000	1.75
  +++ mod_rivet.c	3 Nov 2004 15:21:55 -0000	1.76
  @@ -921,13 +921,13 @@
       } else if( STREQU( var, "UploadMaxSize" ) ) {
   	rsc->upload_max = strtol( val, NULL, 10 );
       } else if( STREQU( var, "UploadFilesToVar" ) ) {
  -	if( STREQU( val, "on" ) ) {
  +	if( STREQU( val, "on" ) || STREQU( val, "yes" ) || STREQU( val, "1" ) ) {
   	    rsc->upload_files_to_var = 1;
   	} else {
   	    rsc->upload_files_to_var = 0;
   	}
       } else if( STREQU( var, "SeparateVirtualInterps" ) ) {
  -	if( STREQU( val, "on" ) ) {
  +	if( STREQU( val, "on" ) || STREQU( val, "yes" ) || STREQU( val, "1" ) ) {
   	    rsc->separate_virtual_interps = 1;
   	} else {
   	    rsc->separate_virtual_interps = 0;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-cvs-help@tcl.apache.org