From 67974fa1e0c1d8702508c8ce601c03db22c4399c Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sun, 9 Mar 2003 17:57:34 +0000 Subject: Doh! If inptr == pos + 1, then return FALSE (before it was checking for 2003-03-09 Jeffrey Stedfast * camel-url-scanner.c (camel_url_addrspec_end): Doh! If inptr == pos + 1, then return FALSE (before it was checking for inptr == pos, but it will never be pos). svn path=/trunk/; revision=20225 --- camel/camel-url-scanner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/camel-url-scanner.c') diff --git a/camel/camel-url-scanner.c b/camel/camel-url-scanner.c index 4419d43bb6..1151449ffc 100644 --- a/camel/camel-url-scanner.c +++ b/camel/camel-url-scanner.c @@ -218,7 +218,7 @@ camel_url_addrspec_end (const char *in, const char *pos, const char *inend, urlm } } - if (inptr == pos) + if (inptr == pos + 1) return FALSE; match->um_eo = (inptr - in); -- cgit v1.2.3