if ((!m_SmtpProtocol) || m_SmtpProtocol->IsRunningUrl() == PR_FALSE)
if (runCommand)
nsresult nsSmtpTestDriver::RunDriver(){	nsresult status = NS_OK;	while (m_runningURL)	{		// if we haven't gotten started (and created a protocol) or		// if the protocol instance is currently not busy, then read in a new command		// and process it...		if ((!m_SmtpProtocol) || m_SmtpProtocol->IsRunningUrl() == PR_FALSE) // if we aren't running the url anymore, ask ueser for another command....		{			//  SMTP is a connectionless protocol...so kill off our transport and current protocol			//  each command must create its own transport and protocol instance to run the url...			NS_IF_RELEASE(m_transport);			if (m_SmtpProtocol)			{				NS_RELEASE(m_SmtpProtocol);				m_SmtpProtocol = nsnull;			}			status = ReadAndDispatchCommand();			}  // if running url#ifdef XP_UNIX        PL_ProcessPendingEvents(m_eventQueue);#endif#ifdef XP_PC			MSG msg;		if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) 		{			TranslateMessage(&msg);			DispatchMessage(&msg);		}#endif	} // until the user has stopped running the url (which is really the test session.....	return status;}