Notif json fall out
FossilOrigin-Name: 2609db6232efc342992c96a8d74c03538dee5a5610b2706dd7a1b7095ce96bf5
This commit is contained in:
parent
dd92476398
commit
1825eaa111
1 changed files with 2 additions and 0 deletions
|
@ -49,6 +49,8 @@ int mstdnt_notification_json(struct mstdnt_notification* notif, cJSON* js)
|
|||
{
|
||||
cJSON* v;
|
||||
|
||||
if (!notif) return 1;;
|
||||
|
||||
/* Zero out */
|
||||
memset(notif, 0, sizeof(struct mstdnt_notification));
|
||||
|
||||
|
|
Loading…
Reference in a new issue