httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roy Fielding <field...@hyperreal.com>
Subject cvs commit: apache/src/modules/example mod_example.c
Date Tue, 15 Apr 1997 05:23:22 GMT
fielding    97/04/14 22:23:21

  Modified:    src/modules/example  mod_example.c
  Log:
  Fixed a couple warnings in the example code.
  
  Revision  Changes    Path
  1.4       +2 -5      apache/src/modules/example/mod_example.c
  
  Index: mod_example.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/modules/example/mod_example.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -C3 -r1.3 -r1.4
  *** mod_example.c	1997/04/11 23:30:10	1.3
  --- mod_example.c	1997/04/15 05:23:20	1.4
  ***************
  *** 241,247 ****
        char    *sofar;
        char    *addon;
        char    *where;
  -     char    lbuf[256];
    
        /*
         * If we weren't passed a configuration record, we can't figure out to
  --- 241,246 ----
  ***************
  *** 280,295 ****
         * on the size (and readability) of the error_log is considerable.
         */
    /*
  -     ap_snprintf (lbuf, sizeof(lbuf) - 1, "mod_example: %s", note);
        if (s != NULL) {
  ! 	log_error (lbuf, s);
        }
     */
    }
    
    /*--------------------------------------------------------------------------*/
    /*									    */
  ! /* We prototyped the various syntaces for command handlers (routines that   */
    /* are called when the configuration parser detects a directive declared    */
    /* by our module) earlier.  Now we actually declare a "real" routine that   */
    /* will be invoked by the parser when our "real" directive is		    */
  --- 279,293 ----
         * on the size (and readability) of the error_log is considerable.
         */
    /*
        if (s != NULL) {
  !         log_printf(s, "mod_example: %s", note);
        }
     */
    }
    
    /*--------------------------------------------------------------------------*/
    /*									    */
  ! /* We prototyped the various syntax for command handlers (routines that     */
    /* are called when the configuration parser detects a directive declared    */
    /* by our module) earlier.  Now we actually declare a "real" routine that   */
    /* will be invoked by the parser when our "real" directive is		    */
  ***************
  *** 512,518 ****
    
        example_config
    	    *cfg;
  -     char    *note;
        char    *dname = dirspec;
    
        /*
  --- 510,515 ----
  
  
  

Mime
View raw message