Overview
SHA1 Hash: | d53af79c81d3ccf76ae10b457ccbd9071c637373 |
---|---|
Date: | 2008-05-24 02:34:48 |
User: | drh |
Comment: | Fix the "card count" on sync to include the configuration cards sent and received. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/xfer.c from [5b389cafaa] to [8dbdd3ebb3].
@@ -841,10 +841,11 @@ const char *zName; zName = configure_first_name(configMask); while( zName ){ blob_appendf(&send, "reqconfig %s\n", zName); zName = configure_next_name(configMask); + nCard++; } configMask = 0; } /* Exchange messages with the server */ @@ -969,10 +970,11 @@ db_multi_exec( "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