From fa325e9b42b0bdfb48857d1958d9fb7ceac55151 Mon Sep 17 00:00:00 2001 From: Dan Cross Date: Fri, 10 Jan 2020 14:44:21 +0000 Subject: 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 --- src/libventi/send.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/libventi/send.c') 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, "%T %s: read packet %p len %d
\n", z->addr, p, len); return p; -Err: +Err: vtlog(VtServerLog, "%T %s: error reading packet: %r
\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; } - -- cgit v1.2.3