cvs commit: modperl-2.0/xs/Apache/Module Apache__Module.h
stas2002/12/12 00:43:38 Modified:xs/Apache/Module Apache__Module.h Log: prevent segfaults, when scfg is NULL Revision ChangesPath 1.8 +2 -1 modperl-2.0/xs/Apache/Module/Apache__Module.h Index: Apache__Module.h === RCS file: /home/cvs/modperl-2.0/xs/Apache/Module/Apache__Module.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- Apache__Module.h 2 Dec 2002 14:20:23 - 1.7 +++ Apache__Module.h 12 Dec 2002 08:43:38 - 1.8 @@ -63,7 +63,8 @@ name = SvPV(pmodule, n_a); } -if (!(modp = apr_hash_get(scfg-modules, name, APR_HASH_KEY_STRING))) { +if (!(scfg-modules + (modp = apr_hash_get(scfg-modules, name, APR_HASH_KEY_STRING { return PL_sv_undef; }
cvs commit: modperl-2.0/xs/Apache/Module Apache__Module.h
dougm 01/03/26 07:51:51 Modified:xs/Apache/Module Apache__Module.h Log: s/top_module/ap_top_module/ Revision ChangesPath 1.2 +1 -1 modperl-2.0/xs/Apache/Module/Apache__Module.h Index: Apache__Module.h === RCS file: /home/cvs/modperl-2.0/xs/Apache/Module/Apache__Module.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Apache__Module.h 2001/03/25 22:32:10 1.1 +++ Apache__Module.h 2001/03/26 15:51:50 1.2 @@ -1,2 +1,2 @@ #define mpxs_Apache__Module_top_module(CLASS) \ -(CLASS ? top_module : top_module) +(CLASS ? ap_top_module : ap_top_module)