Differences From:
File
src/xfer.c
part of check-in
[2b51dbe02b]
- If you "sync" against a server for which you do not have push permission,
you get an error message but it still does the pull.
by
drh on
2007-09-26 19:46:37.
[view]
To:
File
src/xfer.c
part of check-in
[134e2aeccc]
- Combine the "config" and "setting" commands into a single "settings" command.
by
drh on
2007-09-28 20:08:32.
[view]
@@ -813,9 +813,9 @@
}
nMsg++;
if( zPCode==0 ){
zPCode = mprintf("%b", &xfer.aToken[2]);
- db_set("project-code", zPCode);
+ db_set("project-code", zPCode, 0);
}
cloneFlag = 0;
pullFlag = 1;
blob_appendf(&send, "pull %s %s\n", zSCode, zPCode);
@@ -831,9 +831,9 @@
** Each cookie received overwrites the prior cookie from the
** same server.
*/
if( blob_eq(&xfer.aToken[0], "cookie") && xfer.nToken==2 ){
- db_set("cookie", blob_str(&xfer.aToken[1]));
+ db_set("cookie", blob_str(&xfer.aToken[1]), 0);
}else
/* message MESSAGE
**