Commit 4cae0e6b authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

http.sys: Translate WSAEACCES to STATUS_ACCESS_DENIED.

parent d942f128
......@@ -1112,6 +1112,11 @@ static NTSTATUS http_add_url(struct request_queue *queue, IRP *irp)
WARN("Address %s is already in use.\n", debugstr_a(params->url));
return STATUS_SHARING_VIOLATION;
}
else if (WSAGetLastError() == WSAEACCES)
{
WARN("Not enough permissions to bind to address %s.\n", debugstr_a(params->url));
return STATUS_ACCESS_DENIED;
}
ERR("Failed to bind socket, error %u.\n", WSAGetLastError());
return STATUS_UNSUCCESSFUL;
}
......
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