aboutsummaryrefslogtreecommitdiff
path: root/src/libventi/srvhello.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/srvhello.c
parentd7b202dfbd0935c012e1b6b712614a8afcea5cc7 (diff)
downloadplan9port-7643b2635cb8f0688144ecf8e5b57b605258b6a7.tar.gz
plan9port-7643b2635cb8f0688144ecf8e5b57b605258b6a7.tar.bz2
plan9port-7643b2635cb8f0688144ecf8e5b57b605258b6a7.zip
cleanup
Diffstat (limited to 'src/libventi/srvhello.c')
-rw-r--r--src/libventi/srvhello.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libventi/srvhello.c b/src/libventi/srvhello.c
index 0af5a32d..ca34221e 100644
--- a/src/libventi/srvhello.c
+++ b/src/libventi/srvhello.c
@@ -17,9 +17,9 @@ vtsrvhello(VtConn *z)
}
packetfree(p);
- if(tx.type != VtThello){
+ if(tx.msgtype != VtThello){
vtfcallclear(&tx);
- werrstr("bad packet type %d; want Thello %d", tx.type, VtThello);
+ werrstr("bad packet type %d; want Thello %d", tx.msgtype, VtThello);
return -1;
}
if(tx.tag != 0){
@@ -38,7 +38,7 @@ vtsrvhello(VtConn *z)
vtfcallclear(&tx);
memset(&rx, 0, sizeof rx);
- rx.type = VtRhello;
+ rx.msgtype = VtRhello;
rx.tag = tx.tag;
rx.sid = "anonymous";
if((p = vtfcallpack(&rx)) == nil)