Differences From Artifact [a3bcf1a97c]:
- File src/sync.c — part of check-in [99a98377ec] at 2010-03-05 01:00:09 on branch trunk — Prompt for the password whenever a URL is supplied that contains a username but no password. (user: drh size: 6913) [more...]
To Artifact [d86d4e444f]:
- File src/sync.c — part of check-in [3640618d71] at 2010-03-21 17:03:10 on branch trunk — Fix for ticket [45f89e504b4] (user: drh size: 6934) [more...]
︙ | |||
82 83 84 85 86 87 88 89 90 91 92 93 94 95 | 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | + | void process_sync_args(void){ const char *zUrl = 0; const char *zPw = 0; int urlOptional = find_option("autourl",0,0)!=0; g.dontKeepUrl = find_option("once",0,0)!=0; url_proxy_options(); db_find_and_open_repository(1); db_open_config(0); if( g.argc==2 ){ zUrl = db_get("last-sync-url", 0); zPw = db_get("last-sync-pw", 0); }else if( g.argc==3 ){ zUrl = g.argv[2]; } if( zUrl==0 ){ |
︙ |