diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/movemail.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c index c25db625387..84c8ce24286 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c | |||
| @@ -244,17 +244,14 @@ main (int argc, char **argv) | |||
| 244 | #ifndef DISABLE_DIRECT_ACCESS | 244 | #ifndef DISABLE_DIRECT_ACCESS |
| 245 | 245 | ||
| 246 | char *lockname = 0; | 246 | char *lockname = 0; |
| 247 | |||
| 248 | #ifdef MAIL_USE_MAILLOCK | ||
| 249 | char *spool_name = 0; | 247 | char *spool_name = 0; |
| 250 | #endif | ||
| 251 | 248 | ||
| 252 | #ifndef MAIL_USE_SYSTEM_LOCK | ||
| 253 | #ifdef MAIL_USE_MAILLOCK | 249 | #ifdef MAIL_USE_MAILLOCK |
| 254 | spool_name = mail_spool_name (inname); | 250 | spool_name = mail_spool_name (inname); |
| 255 | #endif | 251 | #endif |
| 256 | if (! spool_name) | 252 | if (! spool_name) |
| 257 | { | 253 | { |
| 254 | #ifndef MAIL_USE_SYSTEM_LOCK | ||
| 258 | /* Use a lock file named after our first argument with .lock appended: | 255 | /* Use a lock file named after our first argument with .lock appended: |
| 259 | If it exists, the mail file is locked. */ | 256 | If it exists, the mail file is locked. */ |
| 260 | /* Note: this locking mechanism is *required* by the mailer | 257 | /* Note: this locking mechanism is *required* by the mailer |
| @@ -325,8 +322,8 @@ main (int argc, char **argv) | |||
| 325 | } | 322 | } |
| 326 | 323 | ||
| 327 | delete_lockname = lockname; | 324 | delete_lockname = lockname; |
| 328 | } | ||
| 329 | #endif /* not MAIL_USE_SYSTEM_LOCK */ | 325 | #endif /* not MAIL_USE_SYSTEM_LOCK */ |
| 326 | } | ||
| 330 | 327 | ||
| 331 | #ifdef SIGCHLD | 328 | #ifdef SIGCHLD |
| 332 | signal (SIGCHLD, SIG_DFL); | 329 | signal (SIGCHLD, SIG_DFL); |