зеркало из https://github.com/mozilla/gecko-dev.git
more changes
This commit is contained in:
Родитель
4d72fee9d9
Коммит
2849be7bf0
|
@ -228,6 +228,7 @@ nsNntpTestDriver::InitializeProtocol(const char * urlString)
|
||||||
rv = nsServiceManager::GetService(kNntpUrlCID,
|
rv = nsServiceManager::GetService(kNntpUrlCID,
|
||||||
nsINntpUrl::GetIID(),
|
nsINntpUrl::GetIID(),
|
||||||
(nsISupports**)&m_url);
|
(nsISupports**)&m_url);
|
||||||
|
|
||||||
if (NS_FAILED(rv) || (m_url == nsnull)) {
|
if (NS_FAILED(rv) || (m_url == nsnull)) {
|
||||||
printf("InitializeProtocol failed\n");
|
printf("InitializeProtocol failed\n");
|
||||||
return rv;
|
return rv;
|
||||||
|
@ -265,10 +266,12 @@ nsresult nsNntpTestDriver::RunDriver()
|
||||||
} // if running url
|
} // if running url
|
||||||
#ifdef XP_UNIX
|
#ifdef XP_UNIX
|
||||||
|
|
||||||
|
printf("processing...");
|
||||||
PL_ProcessPendingEvents(m_eventQueue);
|
PL_ProcessPendingEvents(m_eventQueue);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#ifdef XP_PC
|
#ifdef XP_PC
|
||||||
|
printf("processing...");
|
||||||
MSG msg;
|
MSG msg;
|
||||||
if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
|
if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче