summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 10b10a6)
raw | patch | inline | side by side (parent: 10b10a6)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Wed, 13 Apr 2016 16:33:08 +0000 (18:33 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Wed, 13 Apr 2016 16:38:27 +0000 (18:38 +0200) |
src/network.c | patch | blob | history |
diff --git a/src/network.c b/src/network.c
index 6be4ed59521b8b80c2ec9e5220dea961a60fc8d8..171904d2b4e01212883e6d627b2a02fb752810b0 100644 (file)
--- a/src/network.c
+++ b/src/network.c
break;
}
- ent->data = malloc (*ent->data);
+ ent->data = malloc (network_config_packet_size);
if (ent->data == NULL)
{
sfree (ent);