diff options
Diffstat (limited to 'news/nntpcache/files/patch-src-nntpcache.c')
-rw-r--r-- | news/nntpcache/files/patch-src-nntpcache.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/news/nntpcache/files/patch-src-nntpcache.c b/news/nntpcache/files/patch-src-nntpcache.c new file mode 100644 index 000000000000..ef3e490f551b --- /dev/null +++ b/news/nntpcache/files/patch-src-nntpcache.c @@ -0,0 +1,11 @@ +--- src/nntpcache.c.orig Fri Mar 17 07:53:45 2006 ++++ src/nntpcache.c Fri Mar 17 07:53:51 2006 +@@ -810,7 +810,7 @@ + loge (("missing password in %s:%d: %s", file, n, buf)); + continue; + } +- if ((hostname = strrchr(password-2, '@')) != NULL) { ++ if ((hostname = strrchr(password, '@')) != NULL) { + *(hostname++) = '\0'; + username = host; + list->user = Sstrdup (username); |