Skip to content

Commit

Permalink
make sure event_base_loop returns quickly
Browse files Browse the repository at this point in the history
  • Loading branch information
prekageo committed Mar 2, 2016
1 parent 0009cc8 commit 22b9023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mutilate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@ void do_mutilate(const vector<string>& servers, options_t& options,
#endif
) {
int loop_flag =
(options.blocking || args.blocking_given) ? EVLOOP_ONCE : EVLOOP_NONBLOCK;
(options.blocking || args.blocking_given) ? EVLOOP_ONCE : EVLOOP_ONCE | EVLOOP_NONBLOCK;

char *saveptr = NULL; // For reentrant strtok().

Expand Down

0 comments on commit 22b9023

Please sign in to comment.