[tor-bugs] #4889 [Tor Client]: Cleanup: use smartlist_add_asprintf() rather than tor_asprintf+smartlist_add()

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Jan 11 15:52:15 UTC 2012


#4889: Cleanup: use smartlist_add_asprintf() rather than
tor_asprintf+smartlist_add()
------------------------+---------------------------------------------------
 Reporter:  nickm       |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  normal      |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Client  |        Version:                    
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
 We have a smartlist_add_asprintf() alias; let's use it!

 circuit_describe_status_for_controller() needs help here, but probably
 other cases do too.

 We should also grep around a little for more places we should be using
 tor_asprintf in the first place.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4889>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list