[mod-xhtml-neg-cvs] mod_xhtml_neg-2.0 mod_xhtml_neg.c,1.16,1.17
Brought to you by:
run2000
From: <ru...@us...> - 2004-04-01 09:46:12
|
Update of /cvsroot/mod-xhtml-neg/mod_xhtml_neg-2.0 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32073 Modified Files: mod_xhtml_neg.c Log Message: Fix null pointer whenever the best accept_rec is null. Index: mod_xhtml_neg.c =================================================================== RCS file: /cvsroot/mod-xhtml-neg/mod_xhtml_neg-2.0/mod_xhtml_neg.c,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** mod_xhtml_neg.c 31 Mar 2004 09:46:11 -0000 1.16 --- mod_xhtml_neg.c 1 Apr 2004 09:34:14 -0000 1.17 *************** *** 670,674 **** accept_rec *newrec; ! if( ! mod_xhtml_strempty( rec->charset )) { return rec; } --- 670,674 ---- accept_rec *newrec; ! if(( rec == NULL ) || ( ! mod_xhtml_strempty( rec->charset ))) { return rec; } |