evpoll: Use {} in the middle of the if/else if/else block

Curly braces are used the lines above and below, don't make the middle
stick out like this.

Change-Id: I48a15a8665a47db206f8a7ccbc792f6bec8549c2
changes/95/1795/1
Holger Hans Peter Freyther 6 years ago
parent 14488c1c46
commit 70926c8bb5
  1. 4
      src/evpoll.c

@ -68,9 +68,9 @@ int evpoll(struct pollfd *fds, nfds_t nfds, int timeout)
*/
if (timeout == 0) {
tv = &null_tv;
} else if (timeout == -1)
} else if (timeout == -1) {
tv = osmo_timers_nearest();
else {
} else {
poll_tv.tv_sec = timeout / 1000;
poll_tv.tv_usec = (timeout % 1000) * 1000;

Loading…
Cancel
Save