diff options
author | rsc <devnull@localhost> | 2005-01-18 20:15:18 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-01-18 20:15:18 +0000 |
commit | 361e279c59273dc82b1a5ced832d790a3b8b7a28 (patch) | |
tree | 88800a8bd0bb2c8ca81bd163de87b398f685cd5b /src/libventi/srvhello.c | |
parent | aa1d0b1bb0129243f0c4d7c6b3892d8f0556f80a (diff) | |
download | plan9port-361e279c59273dc82b1a5ced832d790a3b8b7a28.tar.gz plan9port-361e279c59273dc82b1a5ced832d790a3b8b7a28.tar.bz2 plan9port-361e279c59273dc82b1a5ced832d790a3b8b7a28.zip |
bug fixes
Diffstat (limited to 'src/libventi/srvhello.c')
-rw-r--r-- | src/libventi/srvhello.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libventi/srvhello.c b/src/libventi/srvhello.c index 029f57bf..0af5a32d 100644 --- a/src/libventi/srvhello.c +++ b/src/libventi/srvhello.c @@ -8,10 +8,8 @@ vtsrvhello(VtConn *z) VtFcall tx, rx; Packet *p; - if((p = vtrecv(z)) == nil){ - werrstr("unexpected eof on venti connection"); + if((p = vtrecv(z)) == nil) return -1; - } if(vtfcallunpack(&tx, p) < 0){ packetfree(p); |