diff --git a/mailnews/base/src/nsMsgAccountManager.cpp b/mailnews/base/src/nsMsgAccountManager.cpp index 26870f3714e..ceab9f5fdf9 100644 --- a/mailnews/base/src/nsMsgAccountManager.cpp +++ b/mailnews/base/src/nsMsgAccountManager.cpp @@ -893,7 +893,7 @@ PRBool nsMsgAccountManager::writeFolderCache(nsHashKey *aKey, void *aData, } // enumeration for empty trash on exit -PRBool PR_CALLBACK nsMsgAccountManager::CleanupOnExit(nsHashKey *aKey, void *aData, +PRBool PR_CALLBACK nsMsgAccountManager::cleanupOnExit(nsHashKey *aKey, void *aData, void *closure) { nsIMsgIncomingServer *server = (nsIMsgIncomingServer*)aData; @@ -1373,7 +1373,7 @@ nsMsgAccountManager::CloseCachedConnections() NS_IMETHODIMP nsMsgAccountManager::CleanupOnExit() { - m_incomingServers.Enumerate(CleanupOnExit,nsnull); + m_incomingServers.Enumerate(cleanupOnExit, nsnull); return NS_OK; } diff --git a/mailnews/base/src/nsMsgAccountManager.h b/mailnews/base/src/nsMsgAccountManager.h index 8d8b530f2b9..40a89f35cc0 100644 --- a/mailnews/base/src/nsMsgAccountManager.h +++ b/mailnews/base/src/nsMsgAccountManager.h @@ -127,7 +127,7 @@ private: void *closure); // clean up on exit - static PRBool PR_CALLBACK CleanupOnExit(nsHashKey *aKey, void *aData, + static PRBool PR_CALLBACK cleanupOnExit(nsHashKey *aKey, void *aData, void *closure); // // account enumerators