summaryrefslogtreecommitdiff
path: root/src/lib/sync_api_upload.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-02-18 15:54:22 +0100
committerChristian Grothoff <christian@grothoff.org>2024-02-18 15:54:22 +0100
commitdccc84c000236df34ec4fed294e72ec69847689c (patch)
treeb4146d5aa81cd1d47828035d43c342f942294df3 /src/lib/sync_api_upload.c
parentb06c4429d1ea419086b33e149b56dbf32ada3cf2 (diff)
downloadsync-dccc84c000236df34ec4fed294e72ec69847689c.tar.gz
sync-dccc84c000236df34ec4fed294e72ec69847689c.tar.bz2
sync-dccc84c000236df34ec4fed294e72ec69847689c.zip
remove NX not_modified case
Diffstat (limited to 'src/lib/sync_api_upload.c')
-rw-r--r--src/lib/sync_api_upload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/sync_api_upload.c b/src/lib/sync_api_upload.c
index 7c3c8cb..3065197 100644
--- a/src/lib/sync_api_upload.c
+++ b/src/lib/sync_api_upload.c
@@ -109,7 +109,7 @@ handle_upload_finished (void *cls,
break;
case MHD_HTTP_NOT_MODIFIED:
ud.us = SYNC_US_SUCCESS;
- ud.details.not_modified.curr_backup_hash = &uo->new_upload_hash;
+ ud.details.success.curr_backup_hash = &uo->new_upload_hash;
ud.ec = TALER_EC_NONE;
break;
case MHD_HTTP_BAD_REQUEST: