diff options
author | Lukas Zeller <luz@synthesis.ch> | 2010-10-25 23:04:00 +0200 |
---|---|---|
committer | Lukas Zeller <luz@synthesis.ch> | 2011-01-20 17:18:20 +0100 |
commit | 4f4c250da2b4d2ca6c1f55f93e5194b6b7aa3b7c (patch) | |
tree | 8540935dc97cc90505f535e79063a3e0c72a29d0 | |
parent | aa27fcb552375db660dbdd2a6e8f9d784d1b804d (diff) |
engine: added check for first time sync (no remote anchor saved) for zap warnings.
-rwxr-xr-x | src/sysync/binfileimplclient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysync/binfileimplclient.cpp b/src/sysync/binfileimplclient.cpp index 101a867..1a09877 100755 --- a/src/sysync/binfileimplclient.cpp +++ b/src/sysync/binfileimplclient.cpp @@ -2018,8 +2018,8 @@ bool TBinfileClientConfig::getTargetLastSyncTime(TBinfileDBSyncTarget &aTarget, { // returns info even if not enabled // Note: if suspended, zapping has already occurred (and has been confirmed, so don't report it here) - aZapsServer=aTarget.syncmode==smo_fromclient && aTarget.forceSlowSync && aTarget.resumeAlertCode==0; - aZapsClient=aTarget.syncmode==smo_fromserver && aTarget.forceSlowSync && aTarget.resumeAlertCode==0; + aZapsServer=aTarget.syncmode==smo_fromclient && (aTarget.forceSlowSync || *(aTarget.remoteAnchor)==0) && aTarget.resumeAlertCode==0; + aZapsClient=aTarget.syncmode==smo_fromserver && (aTarget.forceSlowSync || *(aTarget.remoteAnchor)==0) && aTarget.resumeAlertCode==0; // return info anyway aLastSync=aTarget.lastSync; aDBID=aTarget.localDBTypeID; |