1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 08:47:34 +00:00

LookupServer: Clang-Format

This commit is contained in:
Christopher Dumas 2019-06-05 09:18:51 -07:00 committed by Andreas Kling
parent 59c37363b6
commit 4f62176c3e

View file

@ -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");