coar 98/08/05 18:09:31
Modified: src/main util.c Log: There's no point in going further back than the starting point we just reset.. Revision Changes Path 1.129 +1 -1 apache-1.3/src/main/util.c Index: util.c =================================================================== RCS file: /export/home/cvs/apache-1.3/src/main/util.c,v retrieving revision 1.128 retrieving revision 1.129 diff -u -r1.128 -r1.129 --- util.c 1998/08/06 00:10:38 1.128 +++ util.c 1998/08/06 01:09:30 1.129 @@ -871,7 +871,7 @@ ++src; /* blast trailing whitespace */ dst = &src[strlen(src)]; - while (--dst >= buf && ap_isspace(*dst)) + while (--dst >= src && ap_isspace(*dst)) *dst = '\0'; /* Zap leading whitespace by shifting */ if (src != buf)