commit | a5048173b74fd6915404adba3a7df43cd5b58d49 | [log] [tgz] |
---|---|---|
author | Chaoyi Bian <bcy@pku.edu.cn> | Tue Apr 03 15:21:50 2012 -0700 |
committer | Chaoyi Bian <bcy@pku.edu.cn> | Tue Apr 03 15:21:50 2012 -0700 |
tree | 548266989acdf15468330072d433070f89f3ee1d | |
parent | 0b7cb5f02bdf4d185c6b123b49a8a14f06d9735d [diff] [blame] |
correct two logic: when oldSeq.session != newSeq.session, fetch from 0 when found seq's session != current session, return seq as 0
diff --git a/model/sync-app-data-publish.cc b/model/sync-app-data-publish.cc index 43f6b54..874e520 100644 --- a/model/sync-app-data-publish.cc +++ b/model/sync-app-data-publish.cc
@@ -52,8 +52,7 @@ if (s.session == session) return s.seq; } - else - return 0; + return 0; } uint32_t