]> git.wh0rd.org - dump.git/commitdiff
Fix 'Connection to' message to appear on stderr just like all the other dump messages.
authorStelian Pop <stelian@popies.net>
Mon, 13 Mar 2006 10:33:44 +0000 (10:33 +0000)
committerStelian Pop <stelian@popies.net>
Mon, 13 Mar 2006 10:33:44 +0000 (10:33 +0000)
CHANGES
common/dumprmt.c

diff --git a/CHANGES b/CHANGES
index 7309b2a62777a7b80ed89ba34277e6f62c2d21b0..c25f4493691bd7755e9d826781f344e9b1dfae67 100644 (file)
--- 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 <dwiles@users.sourceforge.net> for the
+       bug report and its fix.
 
 Changes between versions 0.4b40 and 0.4b41 (released January 2, 2006)
 =====================================================================
index 7f88f63a9fb95851eec469556015230170bde7ac..e05325c564d84be2c05316be1694cc5548503078 100644 (file)
@@ -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 <config.h>
@@ -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;
 }