From 9eacfdf04d6e4288c0e83047619767470c820a3c Mon Sep 17 00:00:00 2001 From: Stelian Pop Date: Mon, 13 Mar 2006 10:33:44 +0000 Subject: [PATCH] Fix 'Connection to' message to appear on stderr just like all the other dump messages. --- CHANGES | 9 ++++++++- common/dumprmt.c | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 7309b2a..c25f449 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,11 @@ -$Id: CHANGES,v 1.282 2006/01/02 15:24:22 stelian Exp $ +$Id: CHANGES,v 1.283 2006/03/13 10:33:44 stelian Exp $ + +Changes between versions 0.4b41 and 0.4b42 (released xxxxxxxxxxxxxxx) +===================================================================== + +1. Fix printout of the 'Connection to' message in dump/restore. + Thanks to Dale Wiles for the + bug report and its fix. Changes between versions 0.4b40 and 0.4b41 (released January 2, 2006) ===================================================================== diff --git a/common/dumprmt.c b/common/dumprmt.c index 7f88f63..e05325c 100644 --- a/common/dumprmt.c +++ b/common/dumprmt.c @@ -37,7 +37,7 @@ #ifndef lint static const char rcsid[] = - "$Id: dumprmt.c,v 1.28 2003/10/26 16:05:45 stelian Exp $"; + "$Id: dumprmt.c,v 1.29 2006/03/13 10:33:44 stelian Exp $"; #endif /* not lint */ #include @@ -268,7 +268,7 @@ rmtgetconn(void) perror("TCP_NODELAY setsockopt"); fromrmtape = tormtape; } - (void)fprintf(stdout, "Connection to %s established.\n", rmtpeer); + (void)fprintf(stderr, "Connection to %s established.\n", rmtpeer); return 1; } -- 2.39.2