> -     if ((p->query = calloc(1, sizeof(struct ntp_query))) == NULL)
> +     if ((p->query = calloc(1, sizeof(*(p->query)))) == NULL)

I do not think the replacement pattern is better in any way.

Reply via email to