mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
Avoid static analyzer warning about integer wraparound
This commit is contained in:
parent
1125682ceb
commit
fab3b214b4
@ -161,6 +161,7 @@ static void negotiate_auth(struct rbuf *rbuf, const char *tor_password)
|
||||
cookiefileerrno = errno;
|
||||
continue;
|
||||
}
|
||||
assert(tal_len(contents) != 0);
|
||||
discard_remaining_response(rbuf);
|
||||
tor_send_cmd(rbuf,
|
||||
tal_fmt(tmpctx, "AUTHENTICATE %s",
|
||||
|
Loading…
Reference in New Issue
Block a user