]> git.ozlabs.org Git - ppp.git/blobdiff - chat/chat.c
chat: Allow TIMEOUT value to come from environment variable
[ppp.git] / chat / chat.c
index 0b88c279156b029f371ffe703a33c0d0cb7b19d4..710dba9a41c9c0edeb7d916ce1a7171ea80855d5 100644 (file)
@@ -1167,6 +1167,7 @@ register char *s;
 
     if (timeout_next) {
        timeout_next = 0;
+       s = clean(s, 0);
        timeout = atoi(s);
        
        if (timeout <= 0)