summaryrefslogtreecommitdiffstats
path: root/src/appl/gssftp/ftp
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2006-10-11 05:15:54 +0000
committerKen Raeburn <raeburn@mit.edu>2006-10-11 05:15:54 +0000
commit2b54fe2226de17c02675a6db9cf76e2184b38a55 (patch)
treecc4a4a146835be3d4db79c87d1400bc8da73ece0 /src/appl/gssftp/ftp
parente992c95d1558de5a49678042ecb2bb7d9cdca19b (diff)
downloadkrb5-2b54fe2226de17c02675a6db9cf76e2184b38a55.tar.gz
krb5-2b54fe2226de17c02675a6db9cf76e2184b38a55.tar.xz
krb5-2b54fe2226de17c02675a6db9cf76e2184b38a55.zip
some debugging code to track down nightly test failures
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18679 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/gssftp/ftp')
-rw-r--r--src/appl/gssftp/ftp/cmds.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/appl/gssftp/ftp/cmds.c b/src/appl/gssftp/ftp/cmds.c
index 3d851937b9..5044b44827 100644
--- a/src/appl/gssftp/ftp/cmds.c
+++ b/src/appl/gssftp/ftp/cmds.c
@@ -214,6 +214,9 @@ void setpeer(argc, argv)
overbose = verbose;
if (debug == 0)
verbose = -1;
+ if (debug)
+ printf("%s:%d: verbose=%d debug=%d overbose=%d\n",
+ __FILE__, __LINE__, verbose, debug, overbose);
if (command("SYST") == COMPLETE && overbose) {
register char *cp, c=0;
cp = strchr(reply_string+4, ' ');
@@ -257,6 +260,9 @@ void setpeer(argc, argv)
"Remember to set tenex mode when transfering binary files from this machine.\n");
}
verbose = overbose;
+#else
+ if (debug)
+ printf("(!defined(unix): not checking remote system type)\n");
#endif /* unix */
}
}