diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-18 00:44:39 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-18 00:44:39 +0200 |
commit | 7f4ddbcab8598e3d5e29c23ce883cdfa664408f1 (patch) | |
tree | 5f1b18463f641f24fad519e0aefb60b97d707b52 /src/json/json_generator.c | |
parent | 28ab2c446fba4980a8295d59fdf203a028a35dd6 (diff) | |
download | gnunet-7f4ddbcab8598e3d5e29c23ce883cdfa664408f1.tar.gz gnunet-7f4ddbcab8598e3d5e29c23ce883cdfa664408f1.zip |
merge flags into enum for GNUNET_DISK_pipe() API, fixing #6188
Diffstat (limited to 'src/json/json_generator.c')
-rw-r--r-- | src/json/json_generator.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/json/json_generator.c b/src/json/json_generator.c index 594fcaf27..3f82a5f17 100644 --- a/src/json/json_generator.c +++ b/src/json/json_generator.c | |||
@@ -254,7 +254,9 @@ GNUNET_JSON_from_gnsrecord (const char*rname, | |||
254 | rel_exp.rel_value_us = rd[i].expiration_time; | 254 | rel_exp.rel_value_us = rd[i].expiration_time; |
255 | expiration_time_str = GNUNET_STRINGS_relative_time_to_string (rel_exp, | 255 | expiration_time_str = GNUNET_STRINGS_relative_time_to_string (rel_exp, |
256 | GNUNET_NO); | 256 | GNUNET_NO); |
257 | } else { | 257 | } |
258 | else | ||
259 | { | ||
258 | abs_exp.abs_value_us = rd[i].expiration_time; | 260 | abs_exp.abs_value_us = rd[i].expiration_time; |
259 | expiration_time_str = GNUNET_STRINGS_absolute_time_to_string (abs_exp); | 261 | expiration_time_str = GNUNET_STRINGS_absolute_time_to_string (abs_exp); |
260 | } | 262 | } |