From 361e279c59273dc82b1a5ced832d790a3b8b7a28 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 18 Jan 2005 20:15:18 +0000 Subject: bug fixes --- src/libventi/srvhello.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/libventi/srvhello.c') 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); -- cgit v1.2.3