From 88627f8e88d3b03cb46c092a84f0763fdfa61bb7 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Tue, 29 Mar 2011 20:27:16 +0200 Subject: [PATCH] Fixed wrong server address for nntp --- configure | 2 +- configure.ac | 2 +- lib/nntp.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index fe49a55a..fe87e606 100755 --- a/configure +++ b/configure @@ -2274,7 +2274,7 @@ SUBDIRS="lib mbcico mbfido mbmon mbsebbs mbutils mbnntp mbtask mbsetup unix lang PACKAGE="mbsebbs" MAJOR="0" MINOR="95" -REVISION="12d1" +REVISION="12d2" VERSION="$MAJOR.$MINOR.$REVISION" COPYRIGHT="Copyright (C) 1997-2011 Michiel Broek, All Rights Reserved" SHORTRIGHT="Copyright (C) 1997-2011 M. Broek" diff --git a/configure.ac b/configure.ac index fa83e0ef..c06ae78b 100644 --- a/configure.ac +++ b/configure.ac @@ -12,7 +12,7 @@ AC_SUBST(SUBDIRS) PACKAGE="mbsebbs" MAJOR="0" MINOR="95" -REVISION="12d1" +REVISION="12d2" VERSION="$MAJOR.$MINOR.$REVISION" COPYRIGHT="Copyright (C) 1997-2011 Michiel Broek, All Rights Reserved" SHORTRIGHT="Copyright (C) 1997-2011 M. Broek" diff --git a/lib/nntp.c b/lib/nntp.c index beea92c2..631809ce 100644 --- a/lib/nntp.c +++ b/lib/nntp.c @@ -56,8 +56,8 @@ int nntp_connect(void) hints.ai_family = AF_UNSPEC; hints.ai_socktype = SOCK_STREAM; - if ((rc = getaddrinfo(CFG.popnode, servport, &hints, &res)) != 0) { - WriteError("getaddrinfo %s:%s %s\n", CFG.popnode, servport, gai_strerror(rc)); + if ((rc = getaddrinfo(CFG.nntpnode, servport, &hints, &res)) != 0) { + WriteError("getaddrinfo %s:%s %s\n", CFG.nntpnode, servport, gai_strerror(rc)); return -1; }