# HG changeset patch # User normaldotcom # Date 2010-09-02 23:54:40 # Node ID d10a3b76be5c2fedc8b30f99bea35c554df543be # Parent 03b8df75a6d4ba762717b8bf25f775927d78aae6 Arbitrary fixes diff --git a/src/server/simpleslave.c b/src/server/simpleslave.c --- a/src/server/simpleslave.c +++ b/src/server/simpleslave.c @@ -31,7 +31,7 @@ #include #include -#define DEBUG 1 +#define DEBUG 0 int main(int argc, char *argv[]) diff --git a/src/server/slavefuncs.c b/src/server/slavefuncs.c --- a/src/server/slavefuncs.c +++ b/src/server/slavefuncs.c @@ -44,6 +44,7 @@ #include +// Function debug #define DEBUG 0 @@ -412,10 +413,10 @@ void prepareJobPaths(int jobnum, int fra // Variable Preparation char *jobdatapath; _distren_asprintf(&jobdatapath, "job%d", jobnum); - _distren_asprintf(urltoTar, "http://data.distren.org/job%d/job%d.tar.gz", jobnum, jobnum); // Prepares URL to download from + _distren_asprintf(urltoTar, "http://data.distren.org/job%d/job.tar.gz", jobnum, jobnum); // Prepares URL to download from _distren_asprintf(urltoJobfile, "http://data.distren.org/job%d/job.blend", jobnum); // Prepares URL to download from - _distren_asprintf(pathtoTar, "%s/%s/job%d.tar.gz", datadir, jobdatapath, jobnum); // Prepares destination to save to + _distren_asprintf(pathtoTar, "%s/%s/job.tar.gz", datadir, jobdatapath, jobnum); // Prepares destination to save to _distren_asprintf(pathtoTardir, "%s/%s/", datadir, jobdatapath); // Prepares destination to save to