diff --git a/src/channel.c b/src/channel.c index 46921b856..fe65895c7 100644 --- a/src/channel.c +++ b/src/channel.c @@ -441,7 +441,7 @@ int bi_getline_nc(struct channel *chn, int l; retcode = bi_getblk_nc(chn, blk1, len1, blk2, len2); - if (unlikely(retcode) <= 0) + if (unlikely(retcode <= 0)) return retcode; for (l = 0; l < *len1 && (*blk1)[l] != '\n'; l++);