fixes from Al Longyear
authorPaul Mackerras <paulus@samba.org>
Mon, 30 May 1994 00:22:09 +0000 (00:22 +0000)
committerPaul Mackerras <paulus@samba.org>
Mon, 30 May 1994 00:22:09 +0000 (00:22 +0000)
chat/chat.c

index 40794154f2d108d82cd5e5ca39d7b3763868ff21..a1900157d3af98883a17afb307da2e927e9dce29 100644 (file)
@@ -825,13 +825,10 @@ register char *s;
            die();
            }
 
-       strcpy(s, s1);
-       abort_string[n_aborts++] = s;
+       abort_string[n_aborts++] = s1;
 
        if (verbose)
            {
-           register char *s1 = s;
-
            logf("abort on (");
 
            for (s1 = s; *s1; ++s1)