mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:47:34 +00:00
LookupServer: Clang-Format
This commit is contained in:
parent
59c37363b6
commit
4f62176c3e
1 changed files with 22 additions and 20 deletions
|
@ -188,7 +188,9 @@ Vector<String> lookup(const String& hostname, bool& did_timeout, const String& D
|
|||
return {};
|
||||
}
|
||||
|
||||
struct timeval timeout { 1, 0 };
|
||||
struct timeval timeout {
|
||||
1, 0
|
||||
};
|
||||
int rc = setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &timeout, sizeof(timeout));
|
||||
if (rc < 0) {
|
||||
perror("setsockopt");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue