mirror of
https://github.com/tmux/tmux.git
synced 2025-01-13 03:48:51 +00:00
Sync OpenBSD patchset 510:
EVLOOP_ONCE takes care of the wakeup, so no need to call event_loopexit(NULL).
This commit is contained in:
parent
5ac6ea61bd
commit
fb22aaf87f
3
server.c
3
server.c
@ -1,4 +1,4 @@
|
|||||||
/* $Id: server.c,v 1.224 2009-11-08 23:27:58 tcunha Exp $ */
|
/* $Id: server.c,v 1.225 2009-11-08 23:28:40 tcunha Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -214,7 +214,6 @@ server_loop(void)
|
|||||||
while (!server_should_shutdown()) {
|
while (!server_should_shutdown()) {
|
||||||
server_update_socket();
|
server_update_socket();
|
||||||
|
|
||||||
event_loopexit(NULL);
|
|
||||||
event_loop(EVLOOP_ONCE);
|
event_loop(EVLOOP_ONCE);
|
||||||
|
|
||||||
server_window_loop();
|
server_window_loop();
|
||||||
|
Loading…
Reference in New Issue
Block a user