Fix for client ID for sync - Bug #: 1586 - r: bienvenu

This commit is contained in:
rhp%netscape.com 2000-08-30 02:41:22 +00:00
parent 14a3bdbefd
commit 462e5b388a
2 changed files with 3 additions and 3 deletions

View File

@ -657,11 +657,11 @@ NS_IMETHODIMP nsAbSync::PerformAbSync(nsIDOMWindow *aDOMWindow, PRInt32 *aTransa
goto EarlyExit;
if (mPostString.IsEmpty())
prefixStr = PR_smprintf("last=%u&protocol=%d&client=%s&ver=%s",
prefixStr = PR_smprintf("last=%u&protocol=%s&client=%s&ver=%s",
mLastChangeNum, ABSYNC_PROTOCOL,
clientIDStr, ABSYNC_VERSION);
else
prefixStr = PR_smprintf("last=%u&protocol=%d&client=%s&ver=%s&",
prefixStr = PR_smprintf("last=%u&protocol=%s&client=%s&ver=%s&",
mLastChangeNum, ABSYNC_PROTOCOL,
clientIDStr, ABSYNC_VERSION);

View File

@ -84,7 +84,7 @@ typedef struct {
#define SYNC_ALLTAGS 1000
#define SYNC_EMAILS 2000
#define ABSYNC_PROTOCOL 3
#define ABSYNC_PROTOCOL "2.2.1.1.2.1.2.2.1.1.1.2"
#define ABSYNC_VERSION "Demo"
#define ABSYNC_HOME_PHONE_TYPE "Home"