Commit ca694272 authored by Vysheng's avatar Vysheng

fixed indents

parent 92f9e9f1
......@@ -934,16 +934,16 @@ void do_status_offline (int arg_num, struct arg args[], struct in_ev *ev) {
}
void do_quit (int arg_num, struct arg args[], struct in_ev *ev) {
if (daemonize)
event_incoming (ev->bev, BEV_EVENT_EOF, ev);
//bufferevent_free(ev->bev);
if (daemonize) {
event_incoming (ev->bev, BEV_EVENT_EOF, ev);
}
do_halt (0);
}
void do_safe_quit (int arg_num, struct arg args[], struct in_ev *ev) {
if (daemonize)
event_incoming (ev->bev, BEV_EVENT_EOF, ev);
//bufferevent_free(ev->bev);
if (daemonize) {
event_incoming (ev->bev, BEV_EVENT_EOF, ev);
}
safe_quit = 1;
}
......
......@@ -746,8 +746,9 @@ void sig_term_handler (int signum __attribute__ ((unused))) {
}
void do_halt (int error) {
if (daemonize)
return;
if (daemonize) {
return;
}
if (!readline_disabled) {
rl_free_line_state ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment