diff --git a/src/server/slave.c b/src/server/slave.c --- a/src/server/slave.c +++ b/src/server/slave.c @@ -163,8 +163,7 @@ int main(int argc, char *argv[]) char *pathtoOutdir; /* Full path to output directory */ char *pathtoRenderOutput; /* Contains blender framenum placeholder */ - // Temporary for uncomressed testing @TODO: remove - char *urltoJobfile; + char *urltoJobfile; /* No longer used, url to .blend on server */ char *pathtoJob; /* Full path to job data folder */ char *pathtoJobfile; /* Full path to the job's main file */ @@ -235,7 +234,7 @@ int main(int argc, char *argv[]) // Decompress tarball struct stat jbuffer; - int jstatus = stat(pathtoJobfile, &jbuffer); + int jstatus = stat(pathtoTar, &jbuffer); if(jstatus == -1){ if(DEBUG) fprintf(stderr,"Main job file does not exist, extracting...\n");