projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Impose the use of SASL2, so that we can drop a lot of useless old dead code.
[apps/madmutt.git]
/
dotlock.c
diff --git
a/dotlock.c
b/dotlock.c
index
8d562c8
..
8f1f308
100644
(file)
--- a/
dotlock.c
+++ b/
dotlock.c
@@
-68,7
+68,9
@@
static int dotlock_unlink (const char *);
static int dotlock_lock (const char *);
-#define check_flags(a) if (a & DL_FL_ACTIONS) usage (argv[0])
+#define check_flags(a) \
+ if (a & (DL_FL_TRY|DL_FL_UNLOCK|DL_FL_UNLINK)) \
+ usage(argv[0])
int main (int argc, char **argv)
{