make it so that chat doesn't fail when it can't get terminal params..

this allows it to work on non-tty input...  also don't warn when this
happens as it could get noisy...

Silence is Acceptance
This commit is contained in:
John-Mark Gurney 1997-04-02 09:55:26 +00:00
parent df3cc9399c
commit 39746e4630
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24541

View file

@ -31,7 +31,7 @@
*
*/
static char rcsid[] = "$Id$";
static char rcsid[] = "$Id: chat.c,v 1.6 1997/02/22 19:54:23 peter Exp $";
#include <stdio.h>
#include <time.h>
@ -542,7 +542,8 @@ void set_tty_parameters()
if (get_term_param (&t) < 0)
{
sysfatal("Can't get terminal parameters");
have_tty_parameters = 0;
return;
}
saved_tty_parameters = t;