Skip to content

Commit

Permalink
dns: mowgli_alloc should allocate an object of size mowgli_dns_t, not…
Browse files Browse the repository at this point in the history
… mowgli_dns_ops_t.
  • Loading branch information
kaniini committed Mar 29, 2012
1 parent ef1215f commit a749d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libmowgli/dns/dns.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

mowgli_dns_t * mowgli_dns_create(mowgli_eventloop_t *eventloop, int implementation)
{
mowgli_dns_t *dns = mowgli_alloc(sizeof(mowgli_dns_ops_t));
mowgli_dns_t *dns = mowgli_alloc(sizeof(mowgli_dns_t));
mowgli_dns_ops_t *ops;

switch (implementation)
Expand Down

0 comments on commit a749d73

Please sign in to comment.