summaryrefslogtreecommitdiffstats
path: root/daemon/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/main.c')
-rw-r--r--daemon/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/daemon/main.c b/daemon/main.c
index f85d034..5fa5422 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -160,13 +160,13 @@ int main_loop(int listenfd)
160 if(cnt == -1) { 160 if(cnt == -1) {
161 if(errno == EINTR) { 161 if(errno == EINTR) {
162 if(should_exit) { 162 if(should_exit) {
163 usbmuxd_log(LL_INFO, "event processing interrupted"); 163 usbmuxd_log(LL_INFO, "Event processing interrupted");
164 fdlist_free(&pollfds); 164 fdlist_free(&pollfds);
165 return 0; 165 return 0;
166 } 166 }
167 if(should_discover) { 167 if(should_discover) {
168 should_discover = 0; 168 should_discover = 0;
169 usbmuxd_log(LL_INFO, "device discovery triggered by udev"); 169 usbmuxd_log(LL_INFO, "Device discovery triggered by udev");
170 usb_discover(); 170 usb_discover();
171 } 171 }
172 } 172 }
@@ -404,7 +404,7 @@ int main(int argc, char *argv[])
404 /* set log level to specified verbosity */ 404 /* set log level to specified verbosity */
405 log_level = verbose; 405 log_level = verbose;
406 406
407 usbmuxd_log(LL_NOTICE, "usbmux v%s starting up", USBMUXD_VERSION); 407 usbmuxd_log(LL_NOTICE, "usbmuxd v%s starting up", USBMUXD_VERSION);
408 should_exit = 0; 408 should_exit = 0;
409 should_discover = 0; 409 should_discover = 0;
410 410
@@ -556,7 +556,7 @@ int main(int argc, char *argv[])
556 if(res < 0) 556 if(res < 0)
557 usbmuxd_log(LL_FATAL, "main_loop failed"); 557 usbmuxd_log(LL_FATAL, "main_loop failed");
558 558
559 usbmuxd_log(LL_NOTICE, "usbmux shutting down"); 559 usbmuxd_log(LL_NOTICE, "usbmuxd shutting down");
560 device_kill_connections(); 560 device_kill_connections();
561 usb_shutdown(); 561 usb_shutdown();
562 device_shutdown(); 562 device_shutdown();