]> git.ipfire.org Git - thirdparty/tor.git/commit
Avoid spurious warnings in rend_service_introduce
authorNick Mathewson <nickm@torproject.org>
Tue, 21 Aug 2012 14:15:52 +0000 (10:15 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 21 Aug 2012 14:15:52 +0000 (10:15 -0400)
commit778d90122cf491262e3298007d3165e181bbafe2
treeda65c772bcb36de22d48e06433054874f2d642af
parent661bd3fe714f0c9986eb872eb8eb5d72b2efc195
Avoid spurious warnings in rend_service_introduce

There was some code in the "err:" block that would always log a
warning, reporting an "unknown error" if we hadn't set err_msg.  But
there were also plenty of "goto err" blocks that did their own
logging, and never set err_msg at all.  Now we should only log when
we have an error message to log.

This fixes bug 6638, from no released Tor version.
src/or/rendservice.c