aMule-CVS-20071115 doesn't update server.met correctly from the servers listed in addresses.dat on start-up.
here's my fix:
diff -u amule-cvs/src/ServerList.cpp amule-cvs-fixed/src/ServerList.cpp
--- amule-cvs/src/ServerList.cpp 2007-08-20 12:07:59.000000000 -0400
+++ amule-cvs-fixed/src/ServerList.cpp 2007-11-15 11:05:09.000000000 -0500
@@ -816,8 +816,10 @@
// We use wxURL to validate the URI
if ( wxURL( URI ).GetError() == wxURL_NOERR ) {
// Ok, got a valid URI
+ strURLToDownload = URI ;
URLAutoUpdate = strURLToDownload;
strTempFilename = theApp->ConfigDir + wxT("server_auto.met");
+ AddLogLineM(true, CFormat( _("Start downloading server list from %s") ) % strURLToDownload);
CHTTPDownloadThread *downloader = new CHTTPDownloadThread(strURLToDownload,strTempFilename, HTTP_ServerMetAuto);
downloader->Create();
@@ -846,7 +848,7 @@
// So, file is loaded and merged, and also saved
wxRemoveFile(strTempFilename);
} else {
- AddLogLineM(true, CFormat(_("Failed to download the server list from %s") ) % URLUpdate);
+ AddLogLineM(true, CFormat(_("Failed to download the server list from %s") ) % URLAutoUpdate);
}
++current_url_index;