mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 08:13:35 +00:00
Fix for client ID for sync - Bug #: 1586 - r: bienvenu
This commit is contained in:
parent
14a3bdbefd
commit
462e5b388a
@ -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);
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user