Convert instances of tor_snprintf+strdup into tor_asprintf
commitcc02823d7f6acbc3fa8ea87e5646921100796f10
authorNick Mathewson <nickm@torproject.org>
Wed, 11 Jan 2012 19:02:59 +0000 (11 14:02 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 16 Jan 2012 20:03:13 +0000 (16 15:03 -0500)
tree45d4ba4a4cc9ef73c076f08934f68d9690b9044c
parentedcc9981d8b8894d2ef4e0d617a20d7d99547817
Convert instances of tor_snprintf+strdup into tor_asprintf

These were found by looking for tor_snprintf() instances that were
followed closely by tor_strdup(), though I probably converted some
other snprintfs as well.
changes/clean_asprintf
src/or/circuitbuild.c
src/or/config.c
src/or/connection_edge.c
src/or/control.c
src/or/directory.c
src/or/dirserv.c
src/or/dirvote.c
src/or/rephist.c
src/or/router.c