some (more) debugging code to track down nightly test failures
authorKen Raeburn <raeburn@mit.edu>
Wed, 11 Oct 2006 05:17:16 +0000 (05:17 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 11 Oct 2006 05:17:16 +0000 (05:17 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18680 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/gssftp/ftp/cmds.c

index 5044b448273060de673edad38c07a1d25fa8a4f1..70cd2f48c40c5c5b6e88a3bf89c0072ba2c7779f 100644 (file)
@@ -168,7 +168,9 @@ 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;
 
@@ -183,6 +185,7 @@ void setpeer(argc, argv)
                mode = MODE_S;
                stru = STRU_F;
                (void) strcpy(bytename, "8"), bytesize = 8;
+printf("%s: at line %d\n", __FILE__, __LINE__);
                if (autoauth) {
                        if (do_auth() && autoencrypt) {
                                clevel = PROT_P;
@@ -197,6 +200,7 @@ void setpeer(argc, argv)
                        if(autologin)
                                (void) login(argv[1]);
                }
+printf("%s: at line %d\n", __FILE__, __LINE__);
 
 #ifndef unix
 /* sigh */
@@ -211,6 +215,7 @@ void setpeer(argc, argv)
  * 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;