diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2007-04-23 00:30:40 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2007-04-23 00:30:40 +0000 |
| commit | bf95c447389c32e3555ea5cc5513a5ede2233ff2 (patch) | |
| tree | d26b5b392be1a5f8b4a458d5aa77fd5f20d6d329 /src/appl | |
| parent | d708e75c840bac060e2c908992eb997040fc2d28 (diff) | |
| download | krb5-bf95c447389c32e3555ea5cc5513a5ede2233ff2.tar.gz krb5-bf95c447389c32e3555ea5cc5513a5ede2233ff2.tar.xz krb5-bf95c447389c32e3555ea5cc5513a5ede2233ff2.zip | |
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: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19520 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl')
| -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 f6d41c5542..5044b44827 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; |
