summaryrefslogtreecommitdiff
path: root/src/or/cpuworker.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-04-18 20:41:40 -0400
committerNick Mathewson <nickm@torproject.org>2014-04-18 20:41:40 -0400
commit895b6789e8b33af180a00d843eb25343bace4a4d (patch)
tree44be4a0099c8104d9123911b1f1c50d0f4ac37f0 /src/or/cpuworker.c
parent7cd9520ba9713c10ef9f958a977a1d3d8d1a2c4c (diff)
downloadtor-895b6789e8b33af180a00d843eb25343bace4a4d.tar.gz
tor-895b6789e8b33af180a00d843eb25343bace4a4d.zip
scan-build: get_proxy_addrport should always set its outputs
When get_proxy_addrport returned PROXY_NONE, it would leave addr/port unset. This is inconsistent, and could (if we used the function in a stupid way) lead to undefined behavior. Bugfix on 5b050a9b0, though I don't think it affects tor-as-it-is.
Diffstat (limited to 'src/or/cpuworker.c')
0 files changed, 0 insertions, 0 deletions