diff options
| author | Dan Cross <cross@gajendra.net> | 2025-07-25 11:20:03 -0400 |
|---|---|---|
| committer | Dan Cross <cross@gajendra.net> | 2025-07-25 11:20:03 -0400 |
| commit | 655f7c3184fe2f1eb039211e689c2fe037fa8320 (patch) | |
| tree | a4b1fc2d8979ffb10ad0647a394331df628ad215 /src/libsunrpc/server.c | |
| parent | 5a9ced10ee6abaecb129b0440e211253395588c3 (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.c | 3 |
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; |