aMule Forum

English => en_Bugs => Topic started by: realcruncher on July 16, 2004, 11:04:36 AM

Title: addresses.dat
Post by: realcruncher on July 16, 2004, 11:04:36 AM
there is a bug in ServerList.cpp: uint8 CServerList::AutoUpdate

app_prefs->adresses_list.GetCount(); returns a wrong or no value, but in my case there is
a single url in addresses.dat.
I couldn't yet determine the reason but maybe it looks at the wrong place or counts wrong.
Title: RE: addresses.dat
Post by: realcruncher on July 16, 2004, 01:03:26 PM
i am not a c++ programmer, but in the comments i see that GetLineCount starts from 0, so if there is 1 line it returns 0 and if there are 2 lines it returns 1 etc, so maybe in the chain until GetCount there is a line numbering problem.
I don't want to restart amule now, but i guess if i enter the same line twice it would not complain.