1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/news/nntpcache/files/patch-src_nntpcache.c
Mathieu Arnold cab8ad9d1c Make build as a user.
While there, convert to autoreconf, options helpers, rename patches to match
our naming scheme.

Sponsored by:	Absolight
2015-12-14 17:19:46 +00:00

12 lines
407 B
C

--- src/nntpcache.c.orig 2004-04-11 11:43:56 UTC
+++ src/nntpcache.c
@@ -810,7 +810,7 @@ static bool load_servers(char *file)
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);