Commit 048c5073 authored by Dmitry Safonov's avatar Dmitry Safonov Committed by Andrei Vagin

compel: plugins,std -- Use sys_recvfrom instead of recv

prologue.h defines sys_recv() macro - let's use it by now
Signed-off-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent a1d931c3
...@@ -40,7 +40,7 @@ static int fini_socket(void) ...@@ -40,7 +40,7 @@ static int fini_socket(void)
if (ret) if (ret)
goto err; goto err;
ret = sys_recvfrom(ctl_socket, buf, sizeof(buf), MSG_WAITALL, 0, 0); ret = sys_recv(ctl_socket, buf, sizeof(buf), MSG_WAITALL);
if (ret) if (ret)
goto err; goto err;
err: err:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment