Diff
Not logged in

Differences From:

File src/sync.c part of check-in [676fdd088a] - Enable proxy support using the "fossil setting proxy" command. This check-in is made using a proxy. by drh on 2008-05-01 22:49:57. [view]

To:

File src/sync.c part of check-in [4e683ef07b] - Add the ability to modify global settings (such as the proxy setting) even when there are no repositories defined. by drh on 2008-05-05 17:24:38. [view]

@@ -72,9 +72,9 @@
 ** most recently synced URL.  Remember the current URL for next time.
 */
 static void process_sync_args(void){
   const char *zUrl = 0;
-  db_find_and_open_repository();
+  db_find_and_open_repository(1);
   if( g.argc==2 ){
     zUrl = db_get("last-sync-url", 0);
   }else if( g.argc==3 ){
     zUrl = g.argv[2];