diff options
| author | rsc <devnull@localhost> | 2005-01-07 17:26:07 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2005-01-07 17:26:07 +0000 |
| commit | b4135f04f136150b27a89876d51797ba2a8a78c0 (patch) | |
| tree | 19ae7faad89c40b21a74e0719636100c1bb2fe9e /src/cmd/samterm/mesg.c | |
| parent | c619cc2cb9023d3f6ed9db515ff37b6479795245 (diff) | |
| download | plan9port-b4135f04f136150b27a89876d51797ba2a8a78c0.tar.gz plan9port-b4135f04f136150b27a89876d51797ba2a8a78c0.zip | |
debugging
Diffstat (limited to 'src/cmd/samterm/mesg.c')
| -rw-r--r-- | src/cmd/samterm/mesg.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 * |
