Quoting Christian Biere <[EMAIL PROTECTED]> from ml.softs.gtk-gnutella.devel:
:There are also several places in the code where q->by_rel_pos is modified, but
:q->size is not updated, at least not anywhere close to the same code. It's
:in general an extremely bad idea to cache information about some structure
:without using some kind of encapsulation.

No, q->size and q->by_rel_pos refer to distinct data structures: the former
is the whole queue, including running uploads whilst the latter only refers
to queued items.

Both assertions should be removed from the routine, until I fix something else.

Raphael

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to