Browse Source

Avoid static analyzer warning about integer wraparound

ppa-0.6.1
practicalswift 7 years ago
committed by Rusty Russell
parent
commit
fab3b214b4
  1. 1
      gossipd/tor_autoservice.c

1
gossipd/tor_autoservice.c

@ -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…
Cancel
Save