From: wessels <> Date: Thu, 28 Nov 1996 14:54:52 +0000 (+0000) Subject: ABR fix X-Git-Tag: SQUID_3_0_PRE1~5376 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c9833b97767e09d030d09a14cab86f4bf670d71d;p=thirdparty%2Fsquid.git ABR fix --- diff --git a/src/url.cc b/src/url.cc index 74464487a6..16a20ae12f 100644 --- a/src/url.cc +++ b/src/url.cc @@ -1,6 +1,6 @@ /* - * $Id: url.cc,v 1.48 1996/11/26 23:22:19 wessels Exp $ + * $Id: url.cc,v 1.49 1996/11/28 07:54:52 wessels Exp $ * * DEBUG: section 23 URL Parsing * AUTHOR: Duane Wessels @@ -241,7 +241,7 @@ urlParse(method_t method, char *url) /* remove trailing slashes from FTP URLs */ if (protocol == PROTO_FTP) { t = urlpath + strlen(urlpath); - while (*(--t) == '/') + while (t > urlpath && *(--t) == '/') *t = '\0'; } request = get_free_request_t();