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:
parent
94035ca241
commit
74ee677b41
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue