From 9817020f1f7118a12c5eff6081430a3e286695d7 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Tue, 6 Apr 2010 21:41:33 +0200 Subject: Fix --interface regression, Debian Bug #576717. --- NEWS | 4 ++++ interface.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 1266cc41..50436b0d 100644 --- 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. diff --git a/interface.c b/interface.c index 86332300..287eaf18 100644 --- a/interface.c +++ b/interface.c @@ -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) -- cgit v1.2.3