[tor-bugs] #7356 [Tor]: Make channel state test macros

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Nov 7 19:59:45 UTC 2012


#7356: Make channel state test macros
-------------------------+--------------------------------------------------
 Reporter:  andrea       |          Owner:  andrea            
     Type:  enhancement  |         Status:  new               
 Priority:  normal       |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor          |        Version:  Tor: 0.2.4.5-alpha
 Keywords:               |         Parent:                    
   Points:               |   Actualpoints:                    
-------------------------+--------------------------------------------------
 We check for conditions like if (!(circ->n_chan->state ==
 CHANNEL_STATE_CLOSING || circ->n_chan->state == CHANNEL_STATE_CLOSED ||
 circ->n_chan->state == CHANNEL_STATE_ERROR)) a lot; there should be more
 concise test macros.

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


More information about the tor-bugs mailing list