filescanner: set event-base for cmdenv

This commit is contained in:
chme 2015-02-23 20:26:06 +01:00
parent f4d4716cf5
commit ec75664b81

View File

@ -2138,7 +2138,7 @@ filescanner_init(void)
} }
event_set(&cmdev, cmd_pipe[0], EV_READ, command_cb, NULL); event_set(&cmdev, cmd_pipe[0], EV_READ, command_cb, NULL);
event_base_set(evbase_scan, &exitev); event_base_set(evbase_scan, &cmdev);
event_add(&cmdev, NULL); event_add(&cmdev, NULL);
ret = pthread_create(&tid_scan, NULL, filescanner, NULL); ret = pthread_create(&tid_scan, NULL, filescanner, NULL);