]> code.delx.au - offlineimap/commitdiff
I think the child payload is fixed
authorJohn Goerzen <jgoerzen@complete.org>
Thu, 29 May 2008 07:08:26 +0000 (02:08 -0500)
committerJohn Goerzen <jgoerzen@complete.org>
Thu, 29 May 2008 07:08:26 +0000 (02:08 -0500)
src/Data/Syncable.hs

index 5143630539aaf62a7ad4688d6e8c6f5adec1d4ab..c1032249ad8364e04a8f0267c087adf9067e8b8d 100644 (file)
@@ -187,7 +187,7 @@ findModified basestate authoritativestate comparisonstate laststate =
                         (Just basev, Just authv) ->
                             if (authv /= lastv) && (authv /= basev)
                                then Just authv
-                               else if compv /= basev
+                               else if compv /= basev && (authv /= basev)
                                     then Just compv
                                     else Nothing