From 22ca6a4b83cc7ee99b330680d63a06038c1251d4 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 20 Jan 2020 14:42:16 +0100 Subject: [PATCH] Better function name as suggested by rgacogne. (cherry picked from commit c6042a88ccf588e718daf1ddd35622d85b7f3dde) --- pdns/pdns_recursor.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 5f1a2a2183..cc82fec562 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -3812,12 +3812,12 @@ static void setupNODGlobal() } #endif /* NOD_ENABLED */ -static void checkDir(void) +static void checkSocketDir(void) { struct stat st; string dir(::arg()["socket-dir"]); string msg; - + if (stat(dir.c_str(), &st) == -1) { msg = "it does not exist or cannot access"; } @@ -4235,8 +4235,8 @@ static int serviceMain(int argc, char*argv[]) g_log<