mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
cab8ad9d1c
While there, convert to autoreconf, options helpers, rename patches to match our naming scheme. Sponsored by: Absolight
12 lines
407 B
C
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);
|