Overview
SHA1 Hash: | 11ecd5c0b512fdea2565a133e9dec19c4ba81e27 |
---|---|
Date: | 2009-10-31 14:03:49 |
User: | drh |
Comment: | Fix the "remote-url" command so that it preserves the userid and password.
Ticket |
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/sync.c from [312506edea] to [693322f662].
@@ -183,11 +183,11 @@ if( g.argc==3 ){ if( strcmp(g.argv[2],"off")==0 ){ db_unset("last-sync-url", 0); }else{ url_parse(g.argv[2]); - db_set("last-sync-url", g.urlCanonical, 0); + db_set("last-sync-url", g.urlIsFile ? g.urlCanonical : g.argv[2], 0); } } zUrl = db_get("last-sync-url", 0); if( zUrl==0 ){ printf("off\n");