From acfba6464bd57bdd0549f083f83b12ff9909337f Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Wed, 19 Aug 2009 01:39:16 +0200 Subject: Remove trailing whitespace errors --- usbmuxd/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usbmuxd/main.c') diff --git a/usbmuxd/main.c b/usbmuxd/main.c index 182178f..be7451f 100644 --- a/usbmuxd/main.c +++ b/usbmuxd/main.c @@ -126,7 +126,7 @@ int main_loop(int listenfd) { int to, cnt, i, dto; struct fdlist pollfds; - + while(!should_exit) { usbmuxd_log(LL_FLOOD, "main_loop iteration"); to = usb_get_timeout(); @@ -135,16 +135,16 @@ int main_loop(int listenfd) usbmuxd_log(LL_FLOOD, "Device timeout is %d ms", to); if(dto < to) to = dto; - + fdlist_create(&pollfds); fdlist_add(&pollfds, FD_LISTEN, listenfd, POLLIN); usb_get_fds(&pollfds); client_get_fds(&pollfds); usbmuxd_log(LL_FLOOD, "fd count is %d", pollfds.count); - + cnt = poll(pollfds.fds, pollfds.count, to); usbmuxd_log(LL_FLOOD, "poll() returned %d", cnt); - + if(cnt == -1) { if(errno == EINTR && should_exit) { usbmuxd_log(LL_INFO, "event processing interrupted"); -- cgit v1.1-32-gdbae