Changeset - 84c89cf7f4ea
[Not reviewed]
default
0 1 0
ethanzonca - 16 years ago 2009-08-03 22:30:02

Standardizness?
1 file changed with 0 insertions and 7 deletions:
0 comments (0 inline, 0 general)
src/server/slave.c
Show inline comments
 
@@ -150,14 +150,9 @@ char *pathtoJobfile; // Full path to the
 
                _distren_asprintf(&urltoOutput, "http://protofusion.org/distren/stor/job%d/output/", jobdatapath ); // Prepares the URL where output is posted
 
                _distren_asprintf(&pathtoOutput, "%s/job%d/output/frame%d.%s", datadir, jobnum, framenum, outputext ); // Prepares the path to the jobfile
 

	
 

	
 
		// = DATAPATH "/stor/jobdata/output.jpg"; /*< ? */
 

	
 
		//  Download the data
 

	
 
		curlget(urltoTar, pathtoTar); // Downloads the Tar @TODO: add a progressbar
 

	
 

	
 
		_distren_asprintf(&outdir, "/tmp/distren/job%d", jobnum); /*< @todo free() */
 
		mkdir("/tmp/distren");
 
		mkdir(outdir);
 
@@ -175,7 +170,6 @@ char *pathtoJobfile; // Full path to the
 
				sleep(5); // or not... this should be more event-driven, but should still give a heartbeat to the server
 
			}
 
			busy = 2;
 

	
 
		busy=1; // When done rendering, set this.
 
	}
 
	// When blender is finished, run this...
 
@@ -189,6 +183,5 @@ char *pathtoJobfile; // Full path to the
 
		// Slave now becomes idle, doesn't need to tell the server anything, ssh handles this.
 
	}
 

	
 

	
 
  return 0;
 
}
0 comments (0 inline, 0 general)