Bug 615926: fix stupid typo. r=mconnor
☠☠ backed out by 84fe21efcb57 ☠ ☠
authorRichard Newman <rnewman@mozilla.com>
Mon, 06 Dec 2010 15:09:14 -0800
changeset 58759 d2fd62ffd88e9c81bfe0271303a0e9f54cc51071
parent 58758 183be003b3126d6e355e4042178c0fb70e85d57d
child 58760 a29a2a0ae764266dc436b105723a7364a577dff7
push id17416
push userpweitershausen@mozilla.com
push dateTue, 07 Dec 2010 07:05:47 +0000
treeherdermozilla-central@4d16d58becaf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconnor
bugs615926
Bug 615926: fix stupid typo. r=mconnor
services/sync/modules/service.js
--- a/services/sync/modules/service.js
+++ b/services/sync/modules/service.js
@@ -1066,27 +1066,27 @@ WeaveSvc.prototype = {
     // Checking modified time of the meta record.
     if (infoResponse &&
         (infoResponse.obj.meta != this.metaModified) &&
         !meta.isNew) {
       
       // Delete the cached meta record...
       this._log.debug("Clearing cached meta record. metaModified is " +
           JSON.stringify(this.metaModified) + ", setting to " +
-          JSON.stringify(info.obj.meta));
+          JSON.stringify(infoResponse.obj.meta));
       Records.del(this.metaURL);
       
       // ... fetch the current record from the server, and COPY THE FLAGS.
       let newMeta       = Records.get(this.metaURL);
       newMeta.isNew     = meta.isNew;
       newMeta.changed   = meta.changed;
       
       // Switch in the new meta object and record the new time.
       meta              = newMeta;
-      this.metaModified = info.obj.meta;
+      this.metaModified = infoResponse.obj.meta;
     }
 
     let remoteVersion = (meta && meta.payload.storageVersion)?
       meta.payload.storageVersion : "";
 
     this._log.debug(["Weave Version:", WEAVE_VERSION, "Local Storage:",
       STORAGE_VERSION, "Remote Storage:", remoteVersion].join(" "));