Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
3784bb2b
...
3784bb2b0953098df3383bb8299232ea72bf0221
authored
2003-01-18 15:01:35 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(imap4d_bye0): Use util_is_master() and util_bye()
1 parent
caa977bf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
imap4d/bye.c
imap4d/bye.c
View file @
3784bb2
...
...
@@ -44,7 +44,7 @@ imap4d_bye0 (int reason, struct imap4d_command *command)
break
;
case
ERR_SIGNAL
:
if
(
util_is_ofile
())
if
(
!
util_is_master
())
util_out
(
RESP_BYE
,
"Quitting on signal"
);
syslog
(
LOG_ERR
,
_
(
"Quitting on signal"
));
break
;
...
...
@@ -79,12 +79,7 @@ imap4d_bye0 (int reason, struct imap4d_command *command)
if
(
status
==
EXIT_SUCCESS
&&
command
)
util_finish
(
command
,
RESP_OK
,
"Completed"
);
#ifdef WITH_TLS
if
(
tls_done
)
imap4d_deinit_tls_server
();
if
(
tls_available
)
mu_deinit_tls_libs
();
#endif
/* WITH_TLS */
util_bye
();
closelog
();
exit
(
status
);
...
...
Please
register
or
sign in
to post a comment