diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-12-17 18:29:37 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-12-17 18:29:37 -0500 |
commit | 235f1e1a967cb070c7246617461f58f0413394b3 (patch) | |
tree | 63c260d4d5c4a6f54fa620836ed291a94f6d332e /src/or/or.h | |
parent | 498c293afe3570210e964456e6cf5a8f315dbfc6 (diff) | |
download | tor-235f1e1a967cb070c7246617461f58f0413394b3.tar tor-235f1e1a967cb070c7246617461f58f0413394b3.tar.gz |
Refactor out the 'find string at start of any line' logic.
We do this in too many places throughout the code; it's time to start
clamping down.
Also, refactor Karsten's patch to use strchr-then-strndup, rather than
malloc-then-strlcpy-then-strchr-then-clear.
Diffstat (limited to 'src/or/or.h')
0 files changed, 0 insertions, 0 deletions