Notif json fall out

FossilOrigin-Name: 2609db6232efc342992c96a8d74c03538dee5a5610b2706dd7a1b7095ce96bf5
This commit is contained in:
nekobit 2022-08-13 01:50:57 +00:00
parent dd92476398
commit 1825eaa111

View file

@ -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));