[tor-bugs] #3551 [Pluggable transport]: obfsproxy: Be consistent on the function return convention

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Jul 8 21:50:50 UTC 2011


#3551: obfsproxy: Be consistent on the function return convention
---------------------------------+------------------------------------------
 Reporter:  asn                  |          Owner:  asn
     Type:  defect               |         Status:  new
 Priority:  normal               |      Milestone:     
Component:  Pluggable transport  |        Version:     
 Keywords:                       |         Parent:     
   Points:                       |   Actualpoints:     
---------------------------------+------------------------------------------
 The current code is a bastard mix of:
 "-1 on fail, 1 on success" and "-1 on fail, 0 on success"

 We MUST standarize that.
 We should probably go with "-1 on fail, 0 on success" to match with tor's
 convention.

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


More information about the tor-bugs mailing list