src: use sizeof(var) instead of sizeof(type)
Change memset(&s, 0, sizeof(type))
to memset(&s, 0, sizeof(s))
.
The former is dangerous when the type of s
changes.
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
Change memset(&s, 0, sizeof(type))
to memset(&s, 0, sizeof(s))
.
The former is dangerous when the type of s
changes.