Diff
Not logged in

Differences From:

File src/sync.c part of check-in [fff234b77c] - Updates to the autosync logic. Add the "setting" command. by drh on 2007-09-25 20:23:52. [view]

To:

File src/sync.c part of check-in [097479f99a] - Better defaults for new databases and clones. Use *CURRENT* to identify the current checkout for TTY timelines. by drh on 2007-09-26 02:00:26. [view]

@@ -38,9 +38,9 @@
   if( db_get_int("autosync", 0)==0 ){
     return 0;
   }
   zUrl = db_get("last-sync-url", 0);
-  if( zUrl ){
+  if( zUrl==0 ){
     return 0;  /* No default server */
   }
   url_parse(zUrl);
   if( g.urlIsFile ){