Joseph Redmon
2015-11-14 0cd2379e2ccbad07bad3f88f8dc564776605802d
src/data.c
@@ -574,9 +574,7 @@
    pthread_t thread;
    struct load_args *ptr = calloc(1, sizeof(struct load_args));
    *ptr = args;
    if(pthread_create(&thread, 0, load_thread, ptr)) {
        error("Thread creation failed");
    }
    if(pthread_create(&thread, 0, load_thread, ptr)) error("Thread creation failed");
    return thread;
}