summaryrefslogtreecommitdiff
path: root/Userland/tc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/tc.cpp')
-rw-r--r--Userland/tc.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Userland/tc.cpp b/Userland/tc.cpp
index 408cbab3fb..7abf31c9af 100644
--- a/Userland/tc.cpp
+++ b/Userland/tc.cpp
@@ -18,9 +18,11 @@ int main(int argc, char** argv)
if (fd < 0) {
perror("socket");
return 1;
- }
+ }
- struct timeval timeout { 3, 0 };
+ struct timeval timeout {
+ 3, 0
+ };
int rc = setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &timeout, sizeof(timeout));
if (rc < 0) {
perror("setsockopt");