]> Pileus Git - ~andy/fetchmail/commitdiff
Fix --interface regression, Debian Bug #576717.
authorMatthias Andree <matthias.andree@gmx.de>
Tue, 6 Apr 2010 19:41:33 +0000 (21:41 +0200)
committerMatthias Andree <matthias.andree@gmx.de>
Tue, 6 Apr 2010 19:41:33 +0000 (21:41 +0200)
NEWS
interface.c

diff --git a/NEWS b/NEWS
index 1266cc41b8f46e16d46d7bc315309f81e8182ae3..50436b0d5b93e7ac7fce3e248cd519c2b1e5b8c4 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -55,6 +55,10 @@ removed from a 6.4.0 or newer release.)
 fetchmail-6.3.16 (not yet released):
 
 # BUG FIXES
+# BUG FIX
+* Fix --interface option, broken in 6.3.15. Reported by Vladmimir Stavrinov.
+  Fixes Debian Bug #576717.
+
 * Call OpenSSL_add_all_algorithms(). This is needed to support non-mandatory
   algorithms in certificates. Sjoerd Simons, to fix Debian Bug #576430.
   OpenSSL 0.9.8* does not load - for instance - the SHA256 digest by default.
index 86332300ca18f79ddffcfbf72f110cfccee1d07f..287eaf186c5d8295097f182167faa91b0c762d5a 100644 (file)
@@ -178,7 +178,7 @@ static int get_ifinfo(const char *ifname, ifinfo_t *ifinfo)
            /* hide slash and trailing info from ifname */
            if (sp)
                *sp = '\0';
-           result = _get_ifinfoGT_(socket_fd, stats_file, ifname, ifinfo);
+           result = _get_ifinfoGT_(socket_fd, stats_file, tmp, ifinfo);
            free(tmp);
        }
        if (socket_fd >= 0)