summaryrefslogtreecommitdiff
path: root/usr.bin/tip
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1997-09-18 14:08:40 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1997-09-18 14:08:40 +0000
commitd030d2d2aee170303ffb5eed3183616ef7ddfbb4 (patch)
tree1ff40baf2bdd10f9e8275383efc4508d3e4dd2ad /usr.bin/tip
parent06bba905d06c4ca139b00432a8c86b2db9aeb5d8 (diff)
Notes
Diffstat (limited to 'usr.bin/tip')
-rw-r--r--usr.bin/tip/libacu/multitech.c2
-rw-r--r--usr.bin/tip/libacu/unidialer.c4
-rw-r--r--usr.bin/tip/tip/tip.c4
-rw-r--r--usr.bin/tip/tip/vars.c4
4 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/tip/libacu/multitech.c b/usr.bin/tip/libacu/multitech.c
index 41d42b369f4f..2eea101a2071 100644
--- a/usr.bin/tip/libacu/multitech.c
+++ b/usr.bin/tip/libacu/multitech.c
@@ -91,7 +91,7 @@ int multitech_dialer (register char *num, char *acu)
if (lock_baud)
{
int i;
- if ((i = speed(number(value(BAUDRATE)))) == NULL)
+ if ((i = speed(number(value(BAUDRATE)))) == 0)
return 0;
ttysetup (i);
}
diff --git a/usr.bin/tip/libacu/unidialer.c b/usr.bin/tip/libacu/unidialer.c
index a8d8ef126603..bac2368c0772 100644
--- a/usr.bin/tip/libacu/unidialer.c
+++ b/usr.bin/tip/libacu/unidialer.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)unidialer.c 8.1 (Berkeley) 6/6/93";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: unidialer.c,v 1.5 1997/08/18 07:15:41 charnier Exp $";
#endif /* not lint */
/*
@@ -421,7 +421,7 @@ static int unidialer_dialer (register char *num, char *acu)
if (lock_baud) {
int i;
- if ((i = speed(number(value(BAUDRATE)))) == NULL)
+ if ((i = speed(number(value(BAUDRATE)))) == 0)
return 0;
ttysetup (i);
}
diff --git a/usr.bin/tip/tip/tip.c b/usr.bin/tip/tip/tip.c
index 1b3455f0c5cc..0aecc29b8d5a 100644
--- a/usr.bin/tip/tip/tip.c
+++ b/usr.bin/tip/tip/tip.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)tip.c 8.1 (Berkeley) 6/6/93";
#endif
static const char rcsid[] =
- "$Id: tip.c,v 1.5 1997/08/25 05:02:10 imp Exp $";
+ "$Id: tip.c,v 1.6 1997/08/26 10:25:19 eivind Exp $";
#endif /* not lint */
/*
@@ -189,7 +189,7 @@ notnumber:
PH = _PATH_PHONES;
vinit(); /* init variables */
setparity("even"); /* set the parity table */
- if ((i = speed(number(value(BAUDRATE)))) == NULL) {
+ if ((i = speed(number(value(BAUDRATE)))) == 0) {
printf("tip: bad baud rate %d\n", number(value(BAUDRATE)));
(void)uu_unlock(uucplock);
exit(3);
diff --git a/usr.bin/tip/tip/vars.c b/usr.bin/tip/tip/vars.c
index dd337fb9a7f1..34d604e6d0c9 100644
--- a/usr.bin/tip/tip/vars.c
+++ b/usr.bin/tip/tip/vars.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)vars.c 8.1 (Berkeley) 6/6/93";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: vars.c,v 1.2 1997/08/18 07:16:12 charnier Exp $";
#endif /* not lint */
#include "tipconf.h"
@@ -117,5 +117,5 @@ value_t vtable[] = {
"le", (char *)FALSE },
{ "parity", STRING|INIT|IREMOTE, (READ|WRITE)<<PUBLIC,
"par", (char *)&PA },
- { NOSTR, NULL, NULL, NOSTR, NOSTR }
+ { NOSTR, 0, 0, NOSTR, NOSTR }
};