diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-11-10 11:08:35 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-11-10 11:08:35 +0200 |
commit | 2f1214a79a6befb629466c3e81a993123733a2fe (patch) | |
tree | acf5e1cc9289cf4b655aa873d0b01642090b1391 /lib/sockmapstr.c | |
parent | 3457c19206858d3e8155dcfc776df8818d05824b (diff) | |
download | smap-2f1214a79a6befb629466c3e81a993123733a2fe.tar.gz smap-2f1214a79a6befb629466c3e81a993123733a2fe.tar.bz2 |
Placate cc warnings
Diffstat (limited to 'lib/sockmapstr.c')
-rw-r--r-- | lib/sockmapstr.c | 2 |
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; |