diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-02-19 01:21:09 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-02-19 01:21:09 +0000 |
commit | 0499a1030ea592a089ef66a3989961e31dfb0d47 (patch) | |
tree | 1eed962ed0850c19809f3fc84b4a220941cff96d /news/leafnode/files | |
parent | fd0d55230230b8b83f3b44f66d2416f75a6381e2 (diff) | |
download | ports-0499a1030ea592a089ef66a3989961e31dfb0d47.tar.gz ports-0499a1030ea592a089ef66a3989961e31dfb0d47.zip |
Notes
Diffstat (limited to 'news/leafnode/files')
-rw-r--r-- | news/leafnode/files/patch-aa | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/news/leafnode/files/patch-aa b/news/leafnode/files/patch-aa deleted file mode 100644 index c9b9890b32de..000000000000 --- a/news/leafnode/files/patch-aa +++ /dev/null @@ -1,36 +0,0 @@ - -$FreeBSD$ - ---- fetchnews_check_date.c.orig Wed Feb 12 23:55:16 2003 -+++ fetchnews_check_date.c Wed Feb 12 23:58:46 2003 -@@ -22,12 +22,20 @@ - if (reply != 111) { - /* upstream does not support the DATE command, so ignore */ - if (debugmode) { -- syslog(LOG_DEBUG, "check_date: %s does not support DATE, " -+ syslog(LOG_DEBUG, "check_date: %s: does not support DATE, " - "reply %d, expected 111", servername, reply); - } - return; - } - -+ if (lastline == NULL) { -+ if (debugmode) { -+ syslog(LOG_DEBUG, "check_date: %s: cannot parse lastline (NULL)", -+ servername); -+ } -+ return; -+ } -+ - /* upstream supports the DATE command */ - if (sscanf(lastline, "%*d %4d%2d%2d%2d%2d%2d", - &tm.tm_year, &tm.tm_mon, &tm.tm_mday, -@@ -61,7 +69,7 @@ - } else { - if (debugmode) { - syslog(LOG_DEBUG, "check_date: %s: server time %ld, our time %ld", -- servername, t, to); -+ servername, (long)t, (long)to); - } - } - } |