From b4135f04f136150b27a89876d51797ba2a8a78c0 Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 7 Jan 2005 17:26:07 +0000 Subject: debugging --- src/cmd/samterm/mesg.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/cmd/samterm/mesg.c') diff --git a/src/cmd/samterm/mesg.c b/src/cmd/samterm/mesg.c index ea47a1c2..c7371812 100644 --- a/src/cmd/samterm/mesg.c +++ b/src/cmd/samterm/mesg.c @@ -38,9 +38,9 @@ rcv(void) static int i = 0; static int errs = 0; -if(0) print("rcv in\n"); + if(protodebug) print("rcv in\n"); while((c=rcvchar()) != -1){ -if(0) print("."); + if(protodebug) print("."); switch(state){ case 0: h.type = c; @@ -81,10 +81,10 @@ if(0) print("."); } break; } -if(0) print(":"); + if(protodebug) print(":"); } -if(0) print("rcv out\n"); + if(protodebug) print("rcv out\n"); } Text * -- cgit v1.2.3