-allow NULL for i18n
This commit is contained in:
parent
8f2c2766a4
commit
9718bc4920
@ -1237,11 +1237,6 @@ parse_i18n_string (void *cls,
|
|||||||
const char *str;
|
const char *str;
|
||||||
|
|
||||||
str = json_string_value (val);
|
str = json_string_value (val);
|
||||||
if (NULL == str)
|
|
||||||
{
|
|
||||||
GNUNET_break_op (0);
|
|
||||||
return GNUNET_SYSERR;
|
|
||||||
}
|
|
||||||
*(const char **) spec->ptr = str;
|
*(const char **) spec->ptr = str;
|
||||||
}
|
}
|
||||||
return GNUNET_OK;
|
return GNUNET_OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user