From 8f2d4860bc938683f59df72026c97c97596668c8 Mon Sep 17 00:00:00 2001 From: Laurent MONIN Date: Sat, 7 Jan 2006 21:02:51 +0100 Subject: [PATCH] Trim trailing whitespaces. --- src/protocol/uri.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/protocol/uri.c b/src/protocol/uri.c index 7538ca92e..bbd54c501 100644 --- a/src/protocol/uri.c +++ b/src/protocol/uri.c @@ -130,13 +130,13 @@ check_whether_file_exists(unsigned char *name) for (i = 0; i < sizeof(chars) - 1; i++) { unsigned char *pos = memchr(name, chars[i], namelen); int exists; - + if (!pos) continue; *pos = 0; exists = file_exists(name); *pos = chars[i]; - + if (exists) { return pos - name; } @@ -155,7 +155,7 @@ check_uri_file(unsigned char *name) for (i = 0; i < sizeof(chars) - 1; i++) { unsigned char *pos = memchr(name, chars[i], namelen); - + if (!pos) continue; return pos - name;