aboutsummaryrefslogtreecommitdiff
path: root/src/libsunrpc/server.c
diff options
context:
space:
mode:
authorDan Cross <cross@gajendra.net>2025-07-25 11:20:03 -0400
committerDan Cross <cross@gajendra.net>2025-07-25 11:20:03 -0400
commit655f7c3184fe2f1eb039211e689c2fe037fa8320 (patch)
treea4b1fc2d8979ffb10ad0647a394331df628ad215 /src/libsunrpc/server.c
parent5a9ced10ee6abaecb129b0440e211253395588c3 (diff)
all: clean up misleading indentation warnings
Misleading indentation warnings are actually useful, as they will occasionally reveal actual bugs (cf the apple `goto fail` security bug from a few years ago). Newer versions of clang (at least) are more aggressive about warnings in this regard, which has exposed a few warnings that are annoying. However, they are easy to address.
Diffstat (limited to 'src/libsunrpc/server.c')
-rw-r--r--src/libsunrpc/server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsunrpc/server.c b/src/libsunrpc/server.c
index b94b7643..b9a644f0 100644
--- a/src/libsunrpc/server.c
+++ b/src/libsunrpc/server.c
@@ -91,7 +91,8 @@ sunrpcrequestthread(void *v)
while((m = recvp(srv->crequest)) != nil){
/* could look up in cache here? */
-if(srv->chatty) fprint(2, "sun msg %p count %d\n", m, m->count);
+ if(srv->chatty)
+ fprint(2, "sun msg %p count %d\n", m, m->count);
m->srv = srv;
p = m->data;
ep = p+m->count;