diff options
Diffstat (limited to 'src/json')
-rw-r--r-- | src/json/json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json/json.c b/src/json/json.c index 51d5c0c72..6d11b4fdd 100644 --- a/src/json/json.c +++ b/src/json/json.c | |||
@@ -77,7 +77,7 @@ GNUNET_JSON_spec_mark_optional (struct GNUNET_JSON_Specification spec) | |||
77 | { | 77 | { |
78 | struct GNUNET_JSON_Specification ret = spec; | 78 | struct GNUNET_JSON_Specification ret = spec; |
79 | 79 | ||
80 | ret.is_optional = GNUNET_YES; | 80 | ret.is_optional = true; |
81 | return ret; | 81 | return ret; |
82 | } | 82 | } |
83 | 83 | ||