diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/utils_base.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/utils_base.c b/lib/utils_base.c index 5c838d1d..fdd7d23c 100644 --- a/lib/utils_base.c +++ b/lib/utils_base.c | |||
@@ -420,7 +420,6 @@ char* _np_state_calculate_location_prefix(){ | |||
420 | /* Do not allow passing MP_STATE_DIRECTORY in setuid plugins | 420 | /* Do not allow passing MP_STATE_DIRECTORY in setuid plugins |
421 | * for security reasons */ | 421 | * for security reasons */ |
422 | if (mp_suid() == FALSE) { | 422 | if (mp_suid() == FALSE) { |
423 | /* FIXME: Undocumented */ | ||
424 | env_dir = getenv("MP_STATE_DIRECTORY"); | 423 | env_dir = getenv("MP_STATE_DIRECTORY"); |
425 | if(env_dir && env_dir[0] != '\0') | 424 | if(env_dir && env_dir[0] != '\0') |
426 | return env_dir; | 425 | return env_dir; |