coar 99/06/17 15:58:17
Modified: src/main util.c
Log:
Cosmetic; style fix and a nit: I object to the implicit assumption
that NULL == 0, regardless of its validity.
Revision Changes Path
1.165 +3 -2 apache-1.3/src/main/util.c
Index: util.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/main/util.c,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -r1.164 -r1.165
--- util.c 1999/06/17 06:03:20 1.164
+++ util.c 1999/06/17 22:58:16 1.165
@@ -128,9 +128,10 @@
const char *semi;
semi = strchr(intype, ';');
- if (!semi) {
+ if (semi == NULL) {
return ap_pstrdup(p, intype);
- } else {
+ }
+ else {
while ((semi > intype) && ap_isspace(semi[-1])) {
semi--;
}