NOT PART OF THE BUILD

This commit is contained in:
rhp%netscape.com 2000-05-15 05:32:20 +00:00
parent 0e61917f36
commit 53d8602690
3 changed files with 8 additions and 7 deletions

View File

@ -59,7 +59,7 @@ nsAbSyncDriver::OnStartAuthOperation(void)
PRUnichar *outValue = nsnull;
// Tweak the button...
mStatus->StopMeteors();
mStatus->StartMeteors();
outValue = GetString(NS_ConvertASCIItoUCS2("syncStartingAuth").GetUnicode());

View File

@ -469,12 +469,12 @@ NS_IMETHODIMP nsAbSync::OnStatus(PRInt32 aTransactionID, const PRUnichar *aMsg)
/* void OnStopOperation (in PRInt32 aTransactionID, in nsresult aStatus, in wstring aMsg, out string aProtocolResponse); */
NS_IMETHODIMP nsAbSync::OnStopOperation(PRInt32 aTransactionID, nsresult aStatus, const PRUnichar *aMsg, const char *aProtocolResponse)
{
nsresult rv;
nsresult rv = aStatus;
//
// Now, figure out what the server told us to do with the sync operation.
//
if (aProtocolResponse)
if ( (aProtocolResponse) && (NS_SUCCEEDED(aStatus)) )
rv = ProcessServerResponse(aProtocolResponse);
NotifyListenersOnStopSync(aTransactionID, rv, aMsg);
@ -591,11 +591,11 @@ NS_IMETHODIMP nsAbSync::PerformAbSync(PRInt32 *aTransactionID)
// Ok, add the header to this protocol string information...
if (mPostString.IsEmpty())
prefixStr = PR_smprintf("last=%u&protocol=%d&client=2&ver=%s&user=%s",
mLastChangeNum, ABSYNC_PROTOCOL, ABSYNC_VERSION, "RHPizzarro");
prefixStr = PR_smprintf("last=%u&protocol=%d&client=2&ver=%s",
mLastChangeNum, ABSYNC_PROTOCOL, ABSYNC_VERSION);
else
prefixStr = PR_smprintf("last=%u&protocol=%d&client=2&ver=%s&user=%s&",
mLastChangeNum, ABSYNC_PROTOCOL, ABSYNC_VERSION, "RHPizzarro");
prefixStr = PR_smprintf("last=%u&protocol=%d&client=2&ver=%s&",
mLastChangeNum, ABSYNC_PROTOCOL, ABSYNC_VERSION);
if (!prefixStr)
{
rv = NS_ERROR_OUT_OF_MEMORY;

View File

@ -101,6 +101,7 @@ nsAbSyncPostEngine::nsAbSyncPostEngine()
mAuthenticationRunning = PR_TRUE;
mCookie = nsnull;
mSyncSpec = nsnull;
mSyncProtocolRequest = nsnull;
}
nsAbSyncPostEngine::~nsAbSyncPostEngine()