diff options
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; |