mirror of
https://github.com/sheumann/hush.git
synced 2024-12-28 07:30:23 +00:00
nmeter: cosmetics
This commit is contained in:
parent
333aa0c04a
commit
befd5eaec8
@ -281,7 +281,7 @@ static void collect_literal(s_stat *s ATTRIBUTE_UNUSED)
|
|||||||
|
|
||||||
static s_stat* init_literal(void)
|
static s_stat* init_literal(void)
|
||||||
{
|
{
|
||||||
s_stat *s = xzalloc(sizeof(s_stat));
|
s_stat *s = xzalloc(sizeof(*s));
|
||||||
s->collect = collect_literal;
|
s->collect = collect_literal;
|
||||||
return (s_stat*)s;
|
return (s_stat*)s;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user