From 9de4938ba85d5afd53e08f6a8e90fa4c477704fc Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Mon, 21 Jun 2010 20:43:33 +0100 Subject: Use NP_STATE_DIR_PREFIX as compile variable --- lib/utils_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/utils_base.c') diff --git a/lib/utils_base.c b/lib/utils_base.c index 1234e25a..70279178 100644 --- a/lib/utils_base.c +++ b/lib/utils_base.c @@ -403,7 +403,7 @@ char* _np_state_calculate_location_prefix(){ env_dir = getenv("NAGIOS_PLUGIN_STATE_DIRECTORY"); if(env_dir && env_dir[0] != '\0') return env_dir; - return NP_SHAREDSTATE_DIR; + return NP_STATE_DIR_PREFIX; } /* -- cgit v1.2.3-74-g34f1