1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

fix pointer mistake

This commit is contained in:
Steffen Vogel 2017-05-05 19:09:57 +00:00
parent 94035ca241
commit 74ee677b41

View file

@ -87,8 +87,8 @@ int socket_init(struct super_node *sn)
if (ret)
continue;
list_push(&interfaces, memdup(&j, sizeof(j)));
i = &j;
i = memdup(&j, sizeof(j));
list_push(&interfaces, i);
found: list_push(&i->sockets, s);
}