summaryrefslogtreecommitdiffstats
path: root/mx.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-02-18 22:11:27 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-02-18 22:11:27 +0000
commit9695791fff221ebe1314b7408e4f0f402e0d53af (patch)
tree0bacee419865e30d4bf14f1439cfb9e583c75452 /mx.c
parenta15f31d6be1e72ec7a828be3db98715b9e2abf13 (diff)
Introduce $dotlock_program: This makes the mutt_dotlock program's
location a run-time configuration variable.
Diffstat (limited to 'mx.c')
-rw-r--r--mx.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/mx.c b/mx.c
index 9c6b770b..12d696e5 100644
--- a/mx.c
+++ b/mx.c
@@ -78,14 +78,14 @@ static int invoke_dotlock (const char *path, int flags, int retry)
mutt_quote_filename (f, sizeof (f), path);
snprintf (cmd, sizeof (cmd),
- "%s %s%s%s%s%s%s",
- DOTLOCK,
- flags & DL_FL_TRY ? "-t " : "",
- flags & DL_FL_UNLOCK ? "-u " : "",
- flags & DL_FL_USEPRIV ? "-p " : "",
- flags & DL_FL_FORCE ? "-f " : "",
- flags & DL_FL_RETRY ? r : "",
- f);
+ "%s %s%s%s%s%s%s",
+ NONULL (MuttDotlock),
+ flags & DL_FL_TRY ? "-t " : "",
+ flags & DL_FL_UNLOCK ? "-u " : "",
+ flags & DL_FL_USEPRIV ? "-p " : "",
+ flags & DL_FL_FORCE ? "-f " : "",
+ flags & DL_FL_RETRY ? r : "",
+ f);
return mutt_system (cmd);
}