summaryrefslogtreecommitdiff
path: root/source3/dynconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/dynconfig.c')
-rw-r--r--source3/dynconfig.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/dynconfig.c b/source3/dynconfig.c
index ab0dd48da7..57008ece44 100644
--- a/source3/dynconfig.c
+++ b/source3/dynconfig.c
@@ -64,6 +64,11 @@ static char *dyn_##name; \
}\
dyn_##name = SMB_STRDUP(newpath);\
return dyn_##name;\
+}\
+\
+ bool is_default_dyn_##name(void) \
+{\
+ return (dyn_##name == NULL);\
}
DEFINE_DYN_CONFIG_PARAM(SBINDIR)