aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-url-scanner.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-03-10 01:57:34 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-03-10 01:57:34 +0800
commit67974fa1e0c1d8702508c8ce601c03db22c4399c (patch)
treecdf31e2d72982f7a99a4b870134dbdb8c285395b /camel/camel-url-scanner.c
parentc8a10fa6da81431061b55c131cd3ce737ec8f1df (diff)
downloadgsoc2013-evolution-67974fa1e0c1d8702508c8ce601c03db22c4399c.tar
gsoc2013-evolution-67974fa1e0c1d8702508c8ce601c03db22c4399c.tar.gz
gsoc2013-evolution-67974fa1e0c1d8702508c8ce601c03db22c4399c.tar.bz2
gsoc2013-evolution-67974fa1e0c1d8702508c8ce601c03db22c4399c.tar.lz
gsoc2013-evolution-67974fa1e0c1d8702508c8ce601c03db22c4399c.tar.xz
gsoc2013-evolution-67974fa1e0c1d8702508c8ce601c03db22c4399c.tar.zst
gsoc2013-evolution-67974fa1e0c1d8702508c8ce601c03db22c4399c.zip
Doh! If inptr == pos + 1, then return FALSE (before it was checking for
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). svn path=/trunk/; revision=20225
Diffstat (limited to 'camel/camel-url-scanner.c')
-rw-r--r--camel/camel-url-scanner.c2
1 files changed, 1 insertions, 1 deletions
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);