diff options
| author | 2009-08-19 01:39:16 +0200 | |
|---|---|---|
| committer | 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) | |||
| 126 | { | 126 | { |
| 127 | int to, cnt, i, dto; | 127 | int to, cnt, i, dto; |
| 128 | struct fdlist pollfds; | 128 | struct fdlist pollfds; |
| 129 | 129 | ||
| 130 | while(!should_exit) { | 130 | while(!should_exit) { |
| 131 | usbmuxd_log(LL_FLOOD, "main_loop iteration"); | 131 | usbmuxd_log(LL_FLOOD, "main_loop iteration"); |
| 132 | to = usb_get_timeout(); | 132 | to = usb_get_timeout(); |
| @@ -135,16 +135,16 @@ int main_loop(int listenfd) | |||
| 135 | usbmuxd_log(LL_FLOOD, "Device timeout is %d ms", to); | 135 | usbmuxd_log(LL_FLOOD, "Device timeout is %d ms", to); |
| 136 | if(dto < to) | 136 | if(dto < to) |
| 137 | to = dto; | 137 | to = dto; |
| 138 | 138 | ||
| 139 | fdlist_create(&pollfds); | 139 | fdlist_create(&pollfds); |
| 140 | fdlist_add(&pollfds, FD_LISTEN, listenfd, POLLIN); | 140 | fdlist_add(&pollfds, FD_LISTEN, listenfd, POLLIN); |
| 141 | usb_get_fds(&pollfds); | 141 | usb_get_fds(&pollfds); |
| 142 | client_get_fds(&pollfds); | 142 | client_get_fds(&pollfds); |
| 143 | usbmuxd_log(LL_FLOOD, "fd count is %d", pollfds.count); | 143 | usbmuxd_log(LL_FLOOD, "fd count is %d", pollfds.count); |
| 144 | 144 | ||
| 145 | cnt = poll(pollfds.fds, pollfds.count, to); | 145 | cnt = poll(pollfds.fds, pollfds.count, to); |
| 146 | usbmuxd_log(LL_FLOOD, "poll() returned %d", cnt); | 146 | usbmuxd_log(LL_FLOOD, "poll() returned %d", cnt); |
| 147 | 147 | ||
| 148 | if(cnt == -1) { | 148 | if(cnt == -1) { |
| 149 | if(errno == EINTR && should_exit) { | 149 | if(errno == EINTR && should_exit) { |
| 150 | usbmuxd_log(LL_INFO, "event processing interrupted"); | 150 | usbmuxd_log(LL_INFO, "event processing interrupted"); |
