From: Stelian Pop Date: Mon, 13 Mar 2006 10:33:44 +0000 (+0000) Subject: Fix 'Connection to' message to appear on stderr just like all the other dump messages. X-Git-Tag: release_0_4b42~25 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9eacfdf04d6e4288c0e83047619767470c820a3c;p=dump.git Fix 'Connection to' message to appear on stderr just like all the other dump messages. --- 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; }