dgaudet 98/02/09 21:54:03
Modified: src/modules/standard mod_negotiation.c Log: Uh try that again without the segfault. Revision Changes Path 1.69 +2 -2 apache-1.3/src/modules/standard/mod_negotiation.c Index: mod_negotiation.c =================================================================== RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_negotiation.c,v retrieving revision 1.68 retrieving revision 1.69 diff -u -r1.68 -r1.69 --- mod_negotiation.c 1998/02/10 05:41:11 1.68 +++ mod_negotiation.c 1998/02/10 05:54:02 1.69 @@ -1669,10 +1669,10 @@ /* encoding -- can only be 1 or 0, and if 0 we eliminated this * variant at the start of this function. However we * prefer variants with no encoding over those with encoding */ - if (!*best->content_encoding && *variant->content_encoding) { + if (best->content_encoding == NULL && variant->content_encoding) { return 0; } - if (*best->content_encoding && !*variant->content_encoding) { + if (best->content_encoding && variant->content_encoding == NULL) { *p_bestq = q; return 1; }