[BACK]Return to bozohttpd.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / libexec / httpd

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/libexec/httpd/bozohttpd.c between version 1.12 and 1.13

version 1.12, 2009/04/18 07:28:24 version 1.13, 2009/04/18 21:22:03
Line 1 
Line 1 
 /*      $NetBSD$        */  /*      $NetBSD$        */
   
 /*      $eterna: bozohttpd.c,v 1.152 2009/04/18 05:36:04 mrg Exp $      */  /*      $eterna: bozohttpd.c,v 1.155 2009/04/18 20:53:58 mrg Exp $      */
   
 /*  /*
  * Copyright (c) 1997-2009 Matthew R. Green   * Copyright (c) 1997-2009 Matthew R. Green
Line 109 
Line 109 
 #define INDEX_HTML              "index.html"  #define INDEX_HTML              "index.html"
 #endif  #endif
 #ifndef SERVER_SOFTWARE  #ifndef SERVER_SOFTWARE
 #define SERVER_SOFTWARE         "bozohttpd/20090417"  #define SERVER_SOFTWARE         "bozohttpd/20090418"
 #endif  #endif
 #ifndef DIRECT_ACCESS_FILE  #ifndef DIRECT_ACCESS_FILE
 #define DIRECT_ACCESS_FILE      ".bzdirect"  #define DIRECT_ACCESS_FILE      ".bzdirect"
Line 532  main(int argc, char **argv)
Line 532  main(int argc, char **argv)
                         clean_request(request);                          clean_request(request);
                         return (0);                          return (0);
                 }                  }
         } while (bflag);          } while (bflag && 0);
   
         return (0);          return (0);
 }  }
Line 1454  transform_request(http_req *request, int
Line 1454  transform_request(http_req *request, int
         if (auth_check(request, newfile))          if (auth_check(request, newfile))
                 goto bad_done;                  goto bad_done;
   
         if (strlen(newfile))          if (strlen(newfile)) {
                   free(request->hr_file);
                 request->hr_file = newfile;                  request->hr_file = newfile;
           }
   
         if (process_cgi(request))          if (process_cgi(request))
                 return 0;                  return 0;

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

CVSweb <webmaster@jp.NetBSD.org>