diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-09-17 12:05:52 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-09-17 12:05:52 +0200 |
commit | 420434962743a3575ddac06b1c67e541e813cdf6 (patch) | |
tree | e913a1af4c225b2ea01be2fa66b30c9f7bab3a2d /src/restclient | |
parent | ae9bf61430da8e6cc0e9b76e560c06c8302ffeb4 (diff) | |
download | anastasis-420434962743a3575ddac06b1c67e541e813cdf6.tar.gz anastasis-420434962743a3575ddac06b1c67e541e813cdf6.tar.bz2 anastasis-420434962743a3575ddac06b1c67e541e813cdf6.zip |
use Etags in double-quotes as per standard, add missing 'return' in tests
Diffstat (limited to 'src/restclient')
-rw-r--r-- | src/restclient/anastasis_api_policy_store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/restclient/anastasis_api_policy_store.c b/src/restclient/anastasis_api_policy_store.c index 5cfcfcb..3afee7d 100644 --- a/src/restclient/anastasis_api_policy_store.c +++ b/src/restclient/anastasis_api_policy_store.c @@ -417,7 +417,7 @@ ANASTASIS_policy_store ( val = GNUNET_STRINGS_data_to_string_alloc (&usp.new_recovery_data_hash, sizeof (struct GNUNET_HashCode)); GNUNET_asprintf (&hdr, - "%s: %s", + "%s: \"%s\"", MHD_HTTP_HEADER_IF_NONE_MATCH, val); GNUNET_free (val); |