diff options
author | Russ Cox <rsc@swtch.com> | 2008-06-14 23:04:44 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2008-06-14 23:04:44 -0400 |
commit | 13096891711f32d8a7dca3e1ba9cced908752c14 (patch) | |
tree | 394c198f82e58c0001aab1f5fce351d5848fc208 /src/libventi/send.c | |
parent | 5f1eaee2ab6c8d1b67ec6b1812c38e6e487569e4 (diff) | |
download | plan9port-13096891711f32d8a7dca3e1ba9cced908752c14.tar.gz plan9port-13096891711f32d8a7dca3e1ba9cced908752c14.tar.bz2 plan9port-13096891711f32d8a7dca3e1ba9cced908752c14.zip |
libventi: return value nits
Diffstat (limited to 'src/libventi/send.c')
-rw-r--r-- | src/libventi/send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libventi/send.c b/src/libventi/send.c index 70cc8272..2b88818d 100644 --- a/src/libventi/send.c +++ b/src/libventi/send.c @@ -39,7 +39,7 @@ _vtsend(VtConn *z, Packet *p) if(write(z->outfd, ioc.addr, ioc.len) < ioc.len){ vtlog(VtServerLog, "<font size=-1>%T %s:</font> sending packet %p: %r<br>\n", z->addr, p); packetfree(p); - return 0; + return -1; } packetconsume(p, nil, ioc.len); tot += ioc.len; |