From 2b54fe2226de17c02675a6db9cf76e2184b38a55 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 11 Oct 2006 05:15:54 +0000 Subject: some debugging code to track down nightly test failures git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18679 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/gssftp/ftp/cmds.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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 */ } } -- cgit