diff options
author | jkh <jkh@FreeBSD.org> | 1996-06-24 02:19:27 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-06-24 02:19:27 +0000 |
commit | e2d676475020918baa8e698e30e707eb41812828 (patch) | |
tree | cb526d279b240ee29f0c95b06e82142dafa2030d /lib/libftpio | |
parent | c8069523b38b7d02eafa465e2ef2e440e5eb7faa (diff) | |
download | FreeBSD-src-e2d676475020918baa8e698e30e707eb41812828.zip FreeBSD-src-e2d676475020918baa8e698e30e707eb41812828.tar.gz |
Adjust the reference to ftpBinary() in the (unused) TCL wrappers.
Diffstat (limited to 'lib/libftpio')
-rw-r--r-- | lib/libftpio/ftp_pkg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libftpio/ftp_pkg.c b/lib/libftpio/ftp_pkg.c index 5622126..d60596d 100644 --- a/lib/libftpio/ftp_pkg.c +++ b/lib/libftpio/ftp_pkg.c @@ -11,7 +11,7 @@ * the author assume any responsibility for damages incurred with * its use. * - * $Id$ + * $Id: ftp_pkg.c,v 1.1.1.1 1996/06/17 12:26:06 jkh Exp $ * * TCL Interface code for functions provided by the ftp library. * @@ -180,11 +180,11 @@ Ftp_binary(ClientData clientData, Tcl_Interp *interp, int argc, char **argv) { FILE *fp; - CHECK_ARGS(2, argv[0], "fileId bool"); + CHECK_ARGS(1, argv[0], "fileId"); if (Tcl_GetOpenFile(interp, argv[1], TRUE, TRUE, &fp) != TCL_OK) return TCL_ERROR; - /* Debug("ftp_pkg: set binary mode to %d", atoi(argv[2])); */ - ftpBinary(fp, atoi(argv[2])); + /* Debug("ftp_pkg: set binary mode"); */ + ftpBinary(fp); return TCL_OK; } |