]> granicus.if.org Git - mutt/commitdiff
Permit for passwords which contain '@'. From Felix von Leitner
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 3 Apr 2001 10:34:49 +0000 (10:34 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 3 Apr 2001 10:34:49 +0000 (10:34 +0000)
<leitner@fefe.de>.

url.c

diff --git a/url.c b/url.c
index d11ed7fc92480eba56be0a1fd8d97bb90cb91246..5eb552b09e9b09a6025174289b339d381e99ba54 100644 (file)
--- a/url.c
+++ b/url.c
@@ -117,7 +117,7 @@ static char *ciss_parse_userhost (ciss_url_t *ciss, char *src)
   if ((path = strchr (src, '/')))
     *path++ = '\0';
   
-  if ((t = strchr (src, '@')))
+  if ((t = strrchr (src, '@')))
   {
     *t = '\0';
     if ((p = strchr (src, ':')))