summaryrefslogtreecommitdiff
path: root/src/libs6dns/s6dns_resolven_loop.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-03-12 13:32:44 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-03-12 13:32:44 +0000
commit9d687b0719a1ad72f2e0cacc566e0b550d4cede9 (patch)
treecb053c4d49c8b751b65779cf6a4c9eec85bc66c0 /src/libs6dns/s6dns_resolven_loop.c
parent22cf41f697ff6de1eb4d6c5f66e5de70e86c9f74 (diff)
downloads6-dns-9d687b0719a1ad72f2e0cacc566e0b550d4cede9.tar.xz
Fix a few omissions (and a memchr() argument order bug!)
Diffstat (limited to 'src/libs6dns/s6dns_resolven_loop.c')
-rw-r--r--src/libs6dns/s6dns_resolven_loop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs6dns/s6dns_resolven_loop.c b/src/libs6dns/s6dns_resolven_loop.c
index 9fefbb6..23b1c36 100644
--- a/src/libs6dns/s6dns_resolven_loop.c
+++ b/src/libs6dns/s6dns_resolven_loop.c
@@ -18,9 +18,9 @@ int s6dns_resolven_loop (s6dns_engine_t *dt, unsigned int n, unsigned int or, ta
for (;;)
{
tain_t localdeadline = *deadline ;
- register int r ;
- register unsigned int i = 0 ;
- register unsigned int j = 0 ;
+ int r ;
+ unsigned int i = 0 ;
+ unsigned int j = 0 ;
for (; i < n ; i++) if (dt[i].status == EAGAIN)
{
s6dns_engine_nextdeadline(dt + i, &localdeadline) ;