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.
This commit is contained in:
Nick Mathewson
2012-01-11 14:02:59 -05:00
parent edcc9981d8
commit cc02823d7f
10 changed files with 43 additions and 111 deletions
+2
View File
@@ -1,3 +1,5 @@
o Code simplifications and refactoring
- Use the smartlist_add_asprintf alias more consistently
throughout the codebase.
- Convert more instances of tor_snprintf+tor_strdup into
tor_asprintf.