aboutsummaryrefslogtreecommitdiff
path: root/lib/sockmapstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sockmapstr.c')
-rw-r--r--lib/sockmapstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sockmapstr.c b/lib/sockmapstr.c
index 1c0d749..7e188f2 100644
--- a/lib/sockmapstr.c
+++ b/lib/sockmapstr.c
@@ -227,7 +227,7 @@ read_payload_length(struct sockmap_input_stream *sp)
if (n == 0)
return EOF;
len += n;
- if (p = memchr(sp->nbuf, ':', len)) {
+ if ((p = memchr(sp->nbuf, ':', len))) {
sp->cp = p - sp->nbuf;
sp->nbuf[len] = 0;
sp->nlen = len;

Return to:

Send suggestions and report system problems to the System administrator.