From: Otto Moerbeek Date: Mon, 20 Jan 2020 13:42:16 +0000 (+0100) Subject: Better function name as suggested by rgacogne. X-Git-Tag: auth-4.3.0-beta1~28^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8688%2Fhead;p=thirdparty%2Fpdns.git Better function name as suggested by rgacogne. --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 55a7f43e1b..070a7fba28 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -3809,12 +3809,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"; } @@ -4232,8 +4232,8 @@ static int serviceMain(int argc, char*argv[]) g_log<