aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: addresses.dat  (Read 2412 times)

realcruncher

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 46
addresses.dat
« 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.
Logged

realcruncher

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 46
RE: addresses.dat
« Reply #1 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.
Logged