diff options
author | Tom Yu <tlyu@mit.edu> | 2007-04-25 21:49:00 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2007-04-25 21:49:00 +0000 |
commit | 6354d58805cfa646ecbb3bca6704b757343bf5b7 (patch) | |
tree | 1daecc976a9351179afc3a78b942ccd7c698c3d3 /src | |
parent | 7504090934d274d7875857b9bf1255c750dd0694 (diff) | |
download | krb5-6354d58805cfa646ecbb3bca6704b757343bf5b7.zip krb5-6354d58805cfa646ecbb3bca6704b757343bf5b7.tar.gz krb5-6354d58805cfa646ecbb3bca6704b757343bf5b7.tar.bz2 |
pull up r19520 from trunk
r19520@cathode-dark-space: raeburn | 2007-04-22 20:30:40 -0400
ticket: new
subject: remove debugging code accidentally left in ftp/cmds.c
Debugging code I added months ago in ftp/cmds.c and forgot to remove
has apparently escaped notice until now. Markus Moeller reports
seeing a bunch of "cmds.c: at line (number)" lines printed when he
connects to a server.
This patch removes those lines. A couple other debugging statements
that test for the debug flag being set on the command line are left
in.
ticket: 5541
version_fixed: 1.6.2
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@19527 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r-- | src/appl/gssftp/ftp/cmds.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/appl/gssftp/ftp/cmds.c b/src/appl/gssftp/ftp/cmds.c index f6d41c5..5044b44 100644 --- a/src/appl/gssftp/ftp/cmds.c +++ b/src/appl/gssftp/ftp/cmds.c @@ -168,9 +168,7 @@ void setpeer(argc, argv) } port = htons(iport); } -printf("%s: at line %d\n", __FILE__, __LINE__); host = hookup(argv[1], port); -printf("%s: at line %d\n", __FILE__, __LINE__); if (host) { int overbose; @@ -185,28 +183,20 @@ printf("%s: at line %d\n", __FILE__, __LINE__); mode = MODE_S; stru = STRU_F; (void) strcpy(bytename, "8"), bytesize = 8; -printf("%s: at line %d\n", __FILE__, __LINE__); if (autoauth) { -printf("%s: at line %d\n", __FILE__, __LINE__); if (do_auth() && autoencrypt) { -printf("%s: at line %d\n", __FILE__, __LINE__); clevel = PROT_P; setpbsz(1<<20); if (command("PROT P") == COMPLETE) dlevel = PROT_P; else fprintf(stderr, "ftp: couldn't enable encryption\n"); -printf("%s: at line %d\n", __FILE__, __LINE__); } -printf("%s: at line %d\n", __FILE__, __LINE__); if(auth_type && clevel == PROT_C) clevel = PROT_S; -printf("%s: at line %d\n", __FILE__, __LINE__); if(autologin) (void) login(argv[1]); -printf("%s: at line %d\n", __FILE__, __LINE__); } -printf("%s: at line %d\n", __FILE__, __LINE__); #ifndef unix /* sigh */ @@ -221,7 +211,6 @@ printf("%s: at line %d\n", __FILE__, __LINE__); * this ifdef is to keep someone form "porting" this to an incompatible * system and not checking this out. This way they have to think about it. */ -printf("%s: at line %d\n", __FILE__, __LINE__); overbose = verbose; if (debug == 0) verbose = -1; |