From e9a82e8087d450ef2a02c5cfd0c24c0e40f11ef6 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sun, 30 Oct 1994 21:01:04 +0000 Subject: [PATCH] Give up instead of looping endlessly for unknown speeds. --- usr.bin/window/wwinit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.bin/window/wwinit.c b/usr.bin/window/wwinit.c index b94d31209352..a20bef18467e 100644 --- a/usr.bin/window/wwinit.c +++ b/usr.bin/window/wwinit.c @@ -129,8 +129,7 @@ wwinit() switch (wwospeed) { default: case B0: - wwbaud = 0; - break; + goto bad; case B50: wwbaud = 50; break;