Changeset - daaf850da941
[Not reviewed]
default
0 1 0
ethanzonca - 16 years ago 2009-07-25 21:57:00

Updated frame_finder references
1 file changed with 7 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -521,12 +521,16 @@ int main(int argc, char *argv[])
 
      /* If the client is idle (meaning a client without the "busy" status connected via ssh) */
 
      	if(clientstatus == "idle")
 
	  {
 
	    framenum / jobnum = frame_finder(&head, job, frame); // give framefinder args, framefinder should return job number and frame number somehow
 
				if(frame_finder returns "didn't get a frame"){
 
      		int returnnum = frame_finder(&head, job, frame); // give framefinder args, framefinder should return job number and frame number somehow
 
				if(returnnum == 1){
 
					fprinf(stderr,"No frames are available to render at this time");
 
					sleep(10);
 
				}
 
				else if(returnnum == 0){
 
					remotio_send_to_client(framenum, jobnum);
 
				}
 
				else(){
 
					remotio_send_to_client(framenum, jobnum);
 
					fprintf(stderr,"Something is terribly wrong!");
 
				}
 
      	}
 
      /* If the client's status changes from running to idle */
0 comments (0 inline, 0 general)