fielding 96/09/30 17:12:28
Modified: src http_main.c Log: Fixed printf of null variable during "httpd -h". Reviewed by: Ben Laurie ([EMAIL PROTECTED]) Revision Changes Path 1.74 +3 -2 apache/src/http_main.c Index: http_main.c =================================================================== RCS file: /export/home/cvs/apache/src/http_main.c,v retrieving revision 1.73 retrieving revision 1.74 diff -C3 -r1.73 -r1.74 *** http_main.c 1996/09/30 20:47:59 1.73 --- http_main.c 1996/10/01 00:12:26 1.74 *************** *** 50,56 **** * */ ! /* $Id: http_main.c,v 1.73 1996/09/30 20:47:59 brian Exp $ */ /* * httpd.c: simple http daemon for answering WWW file requests --- 50,56 ---- * */ ! /* $Id: http_main.c,v 1.74 1996/10/01 00:12:26 fielding Exp $ */ /* * httpd.c: simple http daemon for answering WWW file requests *************** *** 1886,1892 **** for(n=0 ; prelinked_modules[n] ; ++n) for(pc=prelinked_modules[n]->cmds ; pc && pc->name ; ++pc) { ! printf("%s\t%s\t%s\t",pc->name,pc->errmsg,module_names[t-n-1]); show_overrides(pc,prelinked_modules[n]); putchar('\n'); } --- 1886,1893 ---- for(n=0 ; prelinked_modules[n] ; ++n) for(pc=prelinked_modules[n]->cmds ; pc && pc->name ; ++pc) { ! printf("%s\t%s\t%s\t", pc->name, pc->errmsg ? pc->errmsg : "", ! module_names[t-n-1]); show_overrides(pc,prelinked_modules[n]); putchar('\n'); }