diff options
Diffstat (limited to 'src/ot_fullscrape.c')
| -rw-r--r-- | src/ot_fullscrape.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ot_fullscrape.c b/src/ot_fullscrape.c index 787b508..bbceb0b 100644 --- a/src/ot_fullscrape.c +++ b/src/ot_fullscrape.c | |||
| @@ -72,7 +72,8 @@ static void *fullscrape_worker(void *args) { | |||
| 72 | 72 | ||
| 73 | static pthread_t thread_id; | 73 | static pthread_t thread_id; |
| 74 | void fullscrape_init(void) { | 74 | void fullscrape_init(void) { |
| 75 | pthread_create( &thread_id, NULL, fullscrape_worker, NULL ); | 75 | if (pthread_create(&thread_id, NULL, fullscrape_worker, NULL)) |
| 76 | exerr("Cannot create fullscrape worker thread."); | ||
| 76 | } | 77 | } |
| 77 | 78 | ||
| 78 | void fullscrape_deinit(void) { | 79 | void fullscrape_deinit(void) { |
