From c6042a88ccf588e718daf1ddd35622d85b7f3dde 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. --- 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 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<