]> git.proxmox.com Git - systemd.git/blobdiff - src/libsystemd/sd-resolve/test-resolve.c
New upstream version 240
[systemd.git] / src / libsystemd / sd-resolve / test-resolve.c
index 880d224a3871ecb0940d44e738cf53a7061c48e1..8de7adcd16d7abcd81d9497c36c1bfc0e76fb49e 100644 (file)
@@ -1,7 +1,4 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
-/***
-  Copyright © 2014 Daniel Buch
-***/
 
 #include <arpa/inet.h>
 #include <errno.h>
@@ -17,6 +14,7 @@
 #include "macro.h"
 #include "socket-util.h"
 #include "string-util.h"
+#include "time-util.h"
 
 #define TEST_TIMEOUT_USEC (20*USEC_PER_SEC)
 
@@ -94,7 +92,7 @@ int main(int argc, char *argv[]) {
                 if (r == 0)
                         break;
                 if (r == -ETIMEDOUT) {
-                        /* Let's catch time-outs here, so that we can run safely in a CI that has no reliable DNS. Note
+                        /* Let's catch timeouts here, so that we can run safely in a CI that has no reliable DNS. Note
                          * that we invoke exit() directly here, as the stuck NSS call will not allow us to exit
                          * cleanly. */