Jeroen Asselman wrote:

Op do 27-03-2003, om 20:29 schreef Christophe Ngo Van Duc:


Hi,

There is a division by zero in
parq_upload_update_ETA()
when sharing is disabled (upload slot = 0)

parq.c line 772

I think when upload slot = 0 the parq queue should stop to take request, right ?

best regards.
PS: I have the core available if needed



Not needed. I never took care of not enabling sharing. Fixing as we speak.
Expect a patch within a few minutes..




( Who has sharing disabled anyway? :-( )

Sorry ;) it was just a test in fact because i was not understanding why only one parq queue was used (parq queue 2) and not the two.

like this

PARQ UL: Queue 1/2 contains 0 items, 0 uploading, queue is marked active
PARQ UL: Queue 2/2 contains 72 items, 2 uploading, queue is marked active



- Jeroen



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel







-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to