зеркало из https://github.com/mozilla/pjs.git
fix this with ugly code that works real well.
This commit is contained in:
Родитель
7f1f79c878
Коммит
0f3483caa7
|
@ -635,7 +635,11 @@ nsMsgAccountManager::FindServersByHostname(const char* hostname,
|
|||
rv = NS_NewISupportsArray(matchingServers);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
findServerEntry serverInfo = { hostname, &iid, *matchingServers};
|
||||
findServerEntry serverInfo;
|
||||
serverInfo.hostname = hostname;
|
||||
serverInfo.iid = &iid;
|
||||
serverInfo.servers = *matchingServers;
|
||||
|
||||
servers->EnumerateForwards(findServerByName, (void *)&serverInfo);
|
||||
|
||||
// as long as we have an nsISupportsArray, we are successful
|
||||
|
|
Загрузка…
Ссылка в новой задаче