Displaying 1 result from an estimated 1 matches for "mountpoint_list_fname".
2012 Aug 13
2
[PATCH] Replace hard-coded PKG_STATEDIR with state_dir setting
..._instance_list_remove(list, base_dir)) < 0) {
diff --git a/src/doveadm/doveadm-mount.c b/src/doveadm/doveadm-mount.c
--- a/src/doveadm/doveadm-mount.c
+++ b/src/doveadm/doveadm-mount.c
@@ -13,7 +13,8 @@
{
const char *perm_path, *state_path;
- perm_path = t_strconcat(PKG_STATEDIR"/"MOUNTPOINT_LIST_FNAME, NULL);
+ perm_path = t_strconcat(doveadm_settings->state_dir,
+ "/"MOUNTPOINT_LIST_FNAME, NULL);
state_path = t_strconcat(doveadm_settings->base_dir,
"/"MOUNTPOINT_LIST_FNAME, NULL);
return mountpoint_list_init(perm_path, state_path);
diff --git a/src/dovead...