aboutsummaryrefslogtreecommitdiff
path: root/src/libventi/server.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-07-13 10:52:39 +0000
committerrsc <devnull@localhost>2005-07-13 10:52:39 +0000
commit7643b2635cb8f0688144ecf8e5b57b605258b6a7 (patch)
tree75867bc2ec096df677b61333c2031ee7e38ab0fe /src/libventi/server.c
parentd7b202dfbd0935c012e1b6b712614a8afcea5cc7 (diff)
downloadplan9port-7643b2635cb8f0688144ecf8e5b57b605258b6a7.tar.gz
plan9port-7643b2635cb8f0688144ecf8e5b57b605258b6a7.tar.bz2
plan9port-7643b2635cb8f0688144ecf8e5b57b605258b6a7.zip
cleanup
Diffstat (limited to 'src/libventi/server.c')
-rw-r--r--src/libventi/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libventi/server.c b/src/libventi/server.c
index ddaa97f8..1fb3c14b 100644
--- a/src/libventi/server.c
+++ b/src/libventi/server.c
@@ -151,7 +151,7 @@ if(first && chattyventi){
if(chattyventi)
fprint(2, "%s <- %F\n", argv0, &r->tx);
packetfree(p);
- if(r->tx.type == VtTgoodbye)
+ if(r->tx.msgtype == VtTgoodbye)
break;
r->rx.tag = r->tx.tag;
r->sc = sc;
@@ -195,7 +195,7 @@ vtrespond(VtReq *r)
sc = r->sc;
if(r->rx.tag != r->tx.tag)
abort();
- if(r->rx.type != r->tx.type+1 && r->rx.type != VtRerror)
+ if(r->rx.msgtype != r->tx.msgtype+1 && r->rx.msgtype != VtRerror)
abort();
if(chattyventi)
fprint(2, "%s -> %F\n", argv0, &r->rx);