diff options
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 6 | ||||
-rw-r--r-- | camel/camel-url-scanner.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 6af3c77a90..04d55667e4 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2003-03-09 Jeffrey Stedfast <fejj@ximian.com> + + * 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). + 2003-03-07 Not Zed <NotZed@Ximian.com> * camel-vee-folder.c (vee_search_by_expression): handle a null 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); |