From b609023898b60b219a5d42716557972558710918 Mon Sep 17 00:00:00 2001 From: brian Date: Sun, 16 May 1999 11:58:48 +0000 Subject: Initialise ttydevice::Timer --- usr.sbin/ppp/tty.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/ppp/tty.c') diff --git a/usr.sbin/ppp/tty.c b/usr.sbin/ppp/tty.c index eac49d4..9da36c3 100644 --- a/usr.sbin/ppp/tty.c +++ b/usr.sbin/ppp/tty.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: tty.c,v 1.3 1999/05/13 16:35:13 brian Exp $ + * $Id: tty.c,v 1.4 1999/05/13 19:29:40 brian Exp $ */ #include @@ -387,6 +387,7 @@ tty_SetupDevice(struct physical *p) return NULL; memcpy(&dev->dev, &basettydevice, sizeof dev->dev); + memset(&dev->Timer, '\0', sizeof dev->Timer); tcgetattr(p->fd, &ios); dev->ios = ios; -- cgit v1.1