From 53c046214689a31928d430f35678bcb990bb5eca Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Sun, 3 Apr 2016 00:06:58 -0500 Subject: [PATCH] provider: use rb_dlinkAddTail instead of rb_dlinkAdd. Providers we add last should come last, not first. --- authd/provider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authd/provider.c b/authd/provider.c index 9b4e2ee5b..8288f295f 100644 --- a/authd/provider.c +++ b/authd/provider.c @@ -86,7 +86,7 @@ load_provider(struct auth_provider *provider) if(provider->init != NULL) provider->init(); - rb_dlinkAdd(provider, &provider->node, &auth_providers); + rb_dlinkAddTail(provider, &provider->node, &auth_providers); } void