[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #8197 [Tor]: Do something about policies_parse_exit_policy()'s arguments



#8197: Do something about policies_parse_exit_policy()'s arguments
--------------------+-------------------------------------------------------
 Reporter:  arma    |          Owner:                    
     Type:  defect  |         Status:  new               
 Priority:  normal  |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor     |        Version:                    
 Keywords:          |         Parent:                    
   Points:          |   Actualpoints:                    
--------------------+-------------------------------------------------------
 {{{
   r = policies_parse_exit_policy(&line, &policy, 1, 0, 0, 1);
 ...
   test_assert(0 == policies_parse_exit_policy(NULL, &policy2, 1, 1, 0,
 1));
 }}}

 Quick quiz: which of these booleans means what? And which one isn't a
 boolean at all? :)

 (Don't work on this ticket until we merge #5528.)

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8197>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs