summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llmnr.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/llmnr.c b/llmnr.c
index 9db381e..17926a7 100644
--- a/llmnr.c
+++ b/llmnr.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2014-2016 Tobias Klauser <tklauser@distanz.ch>
+ * Copyright (C) 2014-2017 Tobias Klauser <tklauser@distanz.ch>
*
* This file is part of llmnrd.
*
@@ -304,7 +304,6 @@ int llmnr_run(void)
while (llmnr_running) {
fd_set rfds;
- struct timeval tv;
int nfds, ret;
FD_ZERO(&rfds);
@@ -315,10 +314,7 @@ int llmnr_run(void)
} else
nfds = llmnr_sock_ipv4 + 1;
- tv.tv_sec = 0;
- tv.tv_usec = 50000;
-
- ret = select(nfds, &rfds, NULL, NULL, &tv);
+ ret = select(nfds, &rfds, NULL, NULL, NULL);
if (ret < 0) {
if (errno != EINTR)
log_err("Failed to select() on socket: %s\n", strerror(errno));
ts again crypto: arm/crc32 - accelerated support based on x86 SSE implementation crypto: arm64/crc32 - accelerated support based on x86 SSE implementation crypto: arm/crct10dif - port x86 SSE implementation to ARM crypto: arm64/crct10dif - port x86 SSE implementation to arm64 crypto: testmgr - add/enhance test cases for CRC-T10DIF crypto: testmgr - avoid overlap in chunked tests crypto: chcr - checking for IS_ERR() instead of NULL crypto: caam - check caam_emi_slow instead of re-lookup platform crypto: algif_aead - fix AIO handling of zero buffer crypto: aes-ce - Make aes_simd_algs static crypto: algif_skcipher - set error code when kcalloc fails crypto: caam - make aamalg_desc a proper module crypto: caam - pass key buffers with typesafe pointers crypto: arm64/aes-ce-ccm - Fix AEAD decryption length MAINTAINERS: add crypto headers to crypto entry crypt: doc - remove misleading mention of async API crypto: doc - fix header file name crypto: api - fix comment typo crypto: skcipher - Add separate walker for AEAD decryption ..
Diffstat