3 Jan
2005
3 Jan
'05
9:50 p.m.
On Mon, Jan 03, 2005 at 12:45:36PM -0800, Jon A. Cruz wrote:
Scary, scary, scary code!
Yeah, my bad. I don't know stl very well yet.
Among other things, collapsing the get_id() and find() calls make it hard to debug. In general I recommend storing the results of get_id(), storing the result of find() and *then* checking second. Trust me, it does nothing to make the code run faster. :-)
Can you go in there and fix it up the way it "should" be, and I can look at it when you're done?
--
Kees Cook @outflux.net