mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-01-02 11:36:22 +01:00
Fix accept call
This commit is contained in:
parent
15be560e7b
commit
cdae73a282
@ -97,7 +97,7 @@ accept_connection(server_un *s, DWORD timeout) {
|
||||
return ETIME;
|
||||
}
|
||||
|
||||
len = sizeof(c->remote);
|
||||
len = sizeof(struct sockaddr_un);
|
||||
if ((c->socket = accept(s->socket, (struct sockaddr *)&(c->remote), &len)) == -1) {
|
||||
dprintf("[UNIX SOCKET SERVER] accept failed");
|
||||
return errno;
|
||||
|
Loading…
Reference in New Issue
Block a user