Diff
Not logged in

Differences From:

File src/xfer.c part of check-in [28e56282c9] - Finish implementing the configuration command by adding method implementations for "import", "reset", and "pull". by drh on 2008-05-23 19:21:03. [view]

To:

File src/xfer.c part of check-in [d53af79c81] - Fix the "card count" on sync to include the configuration cards sent and received. by drh on 2008-05-24 02:34:48. [view]

@@ -842,8 +842,9 @@
       zName = configure_first_name(configMask);
       while( zName ){
         blob_appendf(&send, "reqconfig %s\n", zName);
         zName = configure_next_name(configMask);
+        nCard++;
       }
       configMask = 0;
     }
 
@@ -970,8 +971,9 @@
               "REPLACE INTO config(name,value) VALUES(%Q,%Q)",
               zName, blob_str(&content)
           );
         }
+        nCard++;
         blob_reset(&content);
         blob_seek(xfer.pIn, 1, BLOB_SEEK_CUR);
       }else