]> git.wh0rd.org - dump.git/blobdiff - common/dumprmt.c
Fix 'Connection to' message to appear on stderr just like all the other dump messages.
[dump.git] / common / dumprmt.c
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;
 }