]> git.cameronkatri.com Git - bsd-progress.git/commitdiff
* Implement -s srcaddr; uses srcaddr as the local IP address for all
authorlukem <lukem@NetBSD.org>
Tue, 17 Apr 2007 05:52:03 +0000 (05:52 +0000)
committerlukem <lukem@NetBSD.org>
Tue, 17 Apr 2007 05:52:03 +0000 (05:52 +0000)
  connections.
  Based on code in the version of ftp that FreeBSD had before they
  replaced it with lukemftp.
* Move error message handling into ftp_connect() rather than in the
  caller, so that more specific error reporting can occur.
* Improve consistency of various warning and error messages.

progressbar.c

index 9c4d3c05685cbb5dd7605ae4a19f2f536d855f31..34d3cc6b28da224c38f4cc041490b1a294524021 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: progressbar.c,v 1.14 2007/04/12 06:13:02 lukem Exp $   */
+/*     $NetBSD: progressbar.c,v 1.15 2007/04/17 05:52:03 lukem Exp $   */
 
 /*-
  * Copyright (c) 1997-2007 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: progressbar.c,v 1.14 2007/04/12 06:13:02 lukem Exp $");
+__RCSID("$NetBSD: progressbar.c,v 1.15 2007/04/17 05:52:03 lukem Exp $");
 #endif /* not lint */
 
 /*
@@ -471,7 +471,7 @@ xsignal(int sig, sigfunc func)
                 * This is unpleasant, but I don't know what would be better.
                 * Right now, this "can't happen"
                 */
-               errx(1, "xsignal_restart called with signal %d", sig);
+               errx(1, "xsignal_restart: called with signal %d", sig);
        }
 
        return(xsignal_restart(sig, func, restartable));