diff options
author | brian <brian@FreeBSD.org> | 1997-08-23 23:14:24 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-08-23 23:14:24 +0000 |
commit | c6012f587587c949071182a8a193e3e6ba06ca26 (patch) | |
tree | 1f85d88ee76f44998380e8e84812eef67f2b8b9b /usr.sbin/ppp/modem.c | |
parent | 51170301827b9d53c768e96200f3e3da24a2a471 (diff) | |
download | FreeBSD-src-c6012f587587c949071182a8a193e3e6ba06ca26.zip FreeBSD-src-c6012f587587c949071182a8a193e3e6ba06ca26.tar.gz |
Phone the number after the ``|'' whether the dial
OR login script fails.
Catch a small typo in the man page.
Diffstat (limited to 'usr.sbin/ppp/modem.c')
-rw-r--r-- | usr.sbin/ppp/modem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/modem.c b/usr.sbin/ppp/modem.c index 0a08c8c..b2c5e80 100644 --- a/usr.sbin/ppp/modem.c +++ b/usr.sbin/ppp/modem.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: modem.c,v 1.46 1997/07/24 02:42:34 brian Exp $ + * $Id: modem.c,v 1.47 1997/08/17 20:38:43 brian Exp $ * * TODO: */ @@ -726,11 +726,11 @@ DialModem() strncpy(ScriptBuffer, VarDialScript,sizeof(ScriptBuffer)-1); ScriptBuffer[sizeof(ScriptBuffer)-1] = '\0'; if ((excode = DoChat(ScriptBuffer)) > 0) { - VarAltPhone = NULL; if (VarTerm) fprintf(VarTerm, "dial OK!\n"); strncpy(ScriptBuffer, VarLoginScript,sizeof(ScriptBuffer)-1); if ((excode = DoChat(ScriptBuffer)) > 0) { + VarAltPhone = NULL; if (VarTerm) fprintf(VarTerm, "login OK!\n"); return EX_DONE; |