diff options
author | Dan Cross <cross@gajendra.net> | 2020-01-10 14:44:21 +0000 |
---|---|---|
committer | Dan Cross <cross@gajendra.net> | 2020-01-10 14:54:30 +0000 |
commit | fa325e9b42b0bdfb48857d1958d9fb7ceac55151 (patch) | |
tree | 81d26256d152435135bcb1ae43121979a49f5f2b /src/libventi/send.c | |
parent | 77a0a5b5194d4441c86de097f2aae297cb75e2c2 (diff) | |
download | plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.tar.gz plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.tar.bz2 plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.zip |
Trivial changes: whitespace and modes.
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.
Signed-off-by: Dan Cross <cross@gajendra.net>
Diffstat (limited to 'src/libventi/send.c')
-rw-r--r-- | src/libventi/send.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/libventi/send.c b/src/libventi/send.c index 4dbe115f..96dfe9e6 100644 --- a/src/libventi/send.c +++ b/src/libventi/send.c @@ -126,14 +126,14 @@ _vtrecv(VtConn *z) p = packetsplit(p, len); vtlog(VtServerLog, "<font size=-1>%T %s:</font> read packet %p len %d<br>\n", z->addr, p, len); return p; -Err: +Err: vtlog(VtServerLog, "<font size=-1>%T %s:</font> error reading packet: %r<br>\n", z->addr); - return nil; + return nil; } /* * If you fork off two procs running vtrecvproc and vtsendproc, - * then vtrecv/vtsend (and thus vtrpc) will never block except on + * then vtrecv/vtsend (and thus vtrpc) will never block except on * rendevouses, which is nice when it's running in one thread of many. */ void @@ -258,9 +258,8 @@ vtsend(VtConn *z, Packet *p) if(_vtsend(z, p) < 0){ qunlock(&z->outlk); vthangup(z); - return -1; + return -1; } qunlock(&z->outlk); return 0; } - |