X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=chat%2Fchat.c;h=208fc440dcfa9e427507a22bf21d4eb2e1c4b807;hp=62e18f0154ab70ebe49360f987c944e5aa484d70;hb=064450d2b3ecf22d603cf13cb704c6e96b6c1a17;hpb=d56587cf84861024a43808b5ce0c86d621d3a972 diff --git a/chat/chat.c b/chat/chat.c index 62e18f0..208fc44 100644 --- a/chat/chat.c +++ b/chat/chat.c @@ -18,7 +18,7 @@ * (614)451-1883 */ -static char rcsid[] = "$Id: chat.c,v 1.6 1995/04/28 06:21:50 paulus Exp $"; +static char rcsid[] = "$Id: chat.c,v 1.7 1995/05/01 04:14:51 paulus Exp $"; #include #include @@ -821,10 +821,11 @@ int put_char(c) int c; { int status; + char ch = c; delay(); - status = write(1, &c, 1); + status = write(1, &ch, 1); switch (status) {