]> git.wh0rd.org Git - nano.git/commitdiff
Oops, take out my debugging code
authorChris Allegretta <chrisa@asty.org>
Sun, 7 Jan 2001 05:51:28 +0000 (05:51 +0000)
committerChris Allegretta <chrisa@asty.org>
Sun, 7 Jan 2001 05:51:28 +0000 (05:51 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@454 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

files.c

diff --git a/files.c b/files.c
index 1a1c2eeeb5511643aea0a4197cf3c5af770ec348..c5974174dbca190f6cc9521fa00fe648754a0688 100644 (file)
--- a/files.c
+++ b/files.c
@@ -502,7 +502,6 @@ int do_writeout(char *path, int exiting)
 #ifdef NANO_EXTRA
     static int did_cred = 0;
 #endif
-fprintf(stderr, "answer = %s, path = %s\n", answer, path);
 
     answer = mallocstrcpy(answer, path);
 
@@ -533,11 +532,8 @@ fprintf(stderr, "answer = %s, path = %s\n", answer, path);
 
            if (tmp != NULL)
                answer = mallocstrcpy(answer, tmp);
-           else {
-fprintf(stderr, "Answer = %s\n", answer);
-
+           else
                return do_writeout(answer, exiting);
-           }
        }
 #endif