musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/ns_parse.c 2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/ns_parse.c b/src/network/ns_parse.c
index 3ff33a87..d01da47a 100644
--- a/src/network/ns_parse.c
+++ b/src/network/ns_parse.c
@@ -95,7 +95,7 @@ int ns_skiprr(const unsigned char *ptr, const unsigned char *eom, ns_sect sectio
p += r;
}
}
- return ptr - p;
+ return p - ptr;
bad:
errno = EMSGSIZE;
return -1;
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月02日 21:00:23 +0000

AltStyle によって変換されたページ (->オリジナル) /