diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-12-02 20:20:08 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-12-02 20:20:08 +0100 |
commit | 67e6d86c6ad7e4c487fff55bb7eb9c93114a3446 (patch) | |
tree | 6ae7d632be54e21161c5a95e398f24d87d36e5d9 /src/sync/sync-httpd_backup_post.c | |
parent | 7ccc3fdf05adead935c1749553405f4a9d6b724a (diff) | |
download | sync-67e6d86c6ad7e4c487fff55bb7eb9c93114a3446.tar.gz sync-67e6d86c6ad7e4c487fff55bb7eb9c93114a3446.tar.bz2 sync-67e6d86c6ad7e4c487fff55bb7eb9c93114a3446.zip |
implement fresh option also in client API
Diffstat (limited to 'src/sync/sync-httpd_backup_post.c')
-rw-r--r-- | src/sync/sync-httpd_backup_post.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sync/sync-httpd_backup_post.c b/src/sync/sync-httpd_backup_post.c index fb47ac0..4993e0f 100644 --- a/src/sync/sync-httpd_backup_post.c +++ b/src/sync/sync-httpd_backup_post.c @@ -684,8 +684,7 @@ SH_backup_post (struct MHD_Connection *connection, fresh = MHD_lookup_connection_value (connection, MHD_GET_ARGUMENT_KIND, "fresh"); - if (0 == strcasecmp (fresh, - "yes")) + if (NULL != fresh) bc->force_fresh_order = true; } *con_cls = bc; |