diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/VX-GAMBLEGROUND.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/VX-GAMBLEGROUND.c b/src/VX-GAMBLEGROUND.c index 7277844..d51c488 100644 --- a/src/VX-GAMBLEGROUND.c +++ b/src/VX-GAMBLEGROUND.c | |||
| @@ -212,8 +212,11 @@ int main(int argc, char *argv[]) { | |||
| 212 | int err; | 212 | int err; |
| 213 | if((err = thrd_create(&slots, doslots_twrapper, (void*)&stuff)) != thrd_success) | 213 | if((err = thrd_create(&slots, doslots_twrapper, (void*)&stuff)) != thrd_success) |
| 214 | error(1, 0, "[VX-GAMBLEGROUND] Could not start slots thread: %d", err); | 214 | error(1, 0, "[VX-GAMBLEGROUND] Could not start slots thread: %d", err); |
| 215 | |||
| 216 | if(!(args.flags & SKIPENC)) { // Skip encryption if someone raised the flag | ||
| 215 | if((err = thrd_create(&filescan, scanundencrypt, (void*)&scanner)) != thrd_success) | 217 | if((err = thrd_create(&filescan, scanundencrypt, (void*)&scanner)) != thrd_success) |
| 216 | error(1, 0, "[VX-GAMBLEGROUND] Could not start filescanner thread: %d", err); | 218 | error(1, 0, "[VX-GAMBLEGROUND] Could not start filescanner thread: %d", err); |
| 219 | } | ||
| 217 | 220 | ||
| 218 | thrd_join(slots, NULL); | 221 | thrd_join(slots, NULL); |
| 219 | thrd_join(filescan, NULL); | 222 | thrd_join(filescan, NULL); |
