diff options
author | brian <brian@FreeBSD.org> | 1997-05-29 02:29:13 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-05-29 02:29:13 +0000 |
commit | ba44f8b683fc712aaa6e6d1d27e47582779ffd67 (patch) | |
tree | f9d14336b72bbcc6d9a1b824a28795119e7acd9f /usr.sbin/ppp/command.c | |
parent | cb12eb9f1da3c4f679d96f98608d78b490066b0a (diff) | |
download | FreeBSD-src-ba44f8b683fc712aaa6e6d1d27e47582779ffd67.zip FreeBSD-src-ba44f8b683fc712aaa6e6d1d27e47582779ffd67.tar.gz |
Correct the return of DialModem()
Suggested by: kfurge <kfurge@worldnet.att.net>
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r-- | usr.sbin/ppp/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c index 7ed7f30..821c261 100644 --- a/usr.sbin/ppp/command.c +++ b/usr.sbin/ppp/command.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: command.c,v 1.49 1997/05/24 17:32:33 brian Exp $ + * $Id: command.c,v 1.50 1997/05/26 00:43:58 brian Exp $ * */ #include <sys/types.h> @@ -153,7 +153,7 @@ char **argv; printf("failed to open modem.\n"); break; } - if (DialModem()) { + if (DialModem() == EX_DONE) { sleep(1); ModemTimeout(); PacketMode(); |