diff options
author | Hector Martin | 2009-08-19 01:39:16 +0200 |
---|---|---|
committer | Hector Martin | 2009-08-19 03:56:09 +0200 |
commit | acfba6464bd57bdd0549f083f83b12ff9909337f (patch) | |
tree | 824f942e9ffef08d241d268f407c9b4ccd19f785 /usbmuxd/main.c | |
parent | 3a6f72edfb352ab57f58fb4fe4b6314daaddb362 (diff) | |
download | usbmuxd-acfba6464bd57bdd0549f083f83b12ff9909337f.tar.gz usbmuxd-acfba6464bd57bdd0549f083f83b12ff9909337f.tar.bz2 |
Remove trailing whitespace errors
Diffstat (limited to 'usbmuxd/main.c')
-rw-r--r-- | usbmuxd/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
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"); |