summaryrefslogtreecommitdiff
path: root/usr.sbin/acme-client/main.c
diff options
context:
space:
mode:
authorSebastian Benoit <benno@cvs.openbsd.org>2017-01-21 12:59:07 +0000
committerSebastian Benoit <benno@cvs.openbsd.org>2017-01-21 12:59:07 +0000
commit65a28d0053eb8b7e09a9140dbb85e0108a3f5b62 (patch)
treee815a1bac8e102d79f87859e4faf944aa546bde7 /usr.sbin/acme-client/main.c
parentffa01e4a6e1750f723a7a81c1b58787f5520355e (diff)
move config data structures mostly to TAILQs, because that way we
preserve order. ok florian@
Diffstat (limited to 'usr.sbin/acme-client/main.c')
-rw-r--r--usr.sbin/acme-client/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/acme-client/main.c b/usr.sbin/acme-client/main.c
index 8350d80a6d7..00c10e18d19 100644
--- a/usr.sbin/acme-client/main.c
+++ b/usr.sbin/acme-client/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.27 2017/01/21 12:54:10 florian Exp $ */
+/* $Id: main.c,v 1.28 2017/01/21 12:59:06 benno Exp $ */
/*
* Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -222,7 +222,7 @@ main(int argc, char *argv[])
alts[0] = domain->domain;
i = 1;
/* XXX get rid of alts[] later */
- LIST_FOREACH(ac, &domain->altname_list, entry)
+ TAILQ_FOREACH(ac, &domain->altname_list, entry)
alts[i++] = ac->domain;
/*