From 7fc1ca66527ec59c253a95d900a8553c9574c8ef Mon Sep 17 00:00:00 2001 From: Alexander Barth Date: Fri, 13 May 2022 14:34:10 +0200 Subject: [PATCH 1/2] save rc in globalstate->rcinfo.triples --- libdispatch/drc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libdispatch/drc.c b/libdispatch/drc.c index c99168cbae..59eefd48e0 100644 --- a/libdispatch/drc.c +++ b/libdispatch/drc.c @@ -576,6 +576,7 @@ NC_rcfile_insert(const char* key, const char* value, const char* hostport, const if(rc == NULL) { rc = nclistnew(); + globalstate->rcinfo.triples = rc; if(rc == NULL) {ret = NC_ENOMEM; goto done;} } entry = rclocate(key,hostport,path); From f969b47cf6fd5162caca51f9173863c4728d6e86 Mon Sep 17 00:00:00 2001 From: Alexander Barth Date: Sat, 14 May 2022 10:46:54 +0200 Subject: [PATCH 2/2] rename rcinfo.triples to rcinfo->entries --- libdispatch/drc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdispatch/drc.c b/libdispatch/drc.c index 59eefd48e0..004f63f440 100644 --- a/libdispatch/drc.c +++ b/libdispatch/drc.c @@ -576,7 +576,7 @@ NC_rcfile_insert(const char* key, const char* value, const char* hostport, const if(rc == NULL) { rc = nclistnew(); - globalstate->rcinfo.triples = rc; + globalstate->rcinfo->entries = rc; if(rc == NULL) {ret = NC_ENOMEM; goto done;} } entry = rclocate(key,hostport,path);