Changeset - a262fec921d2
[Not reviewed]
default
0 1 0
LordOfWar - 16 years ago 2009-10-14 13:42:48

commented out start_data(), it was editing general_info

added fprintf where a function to create directories will be placed
1 file changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -252,6 +252,7 @@ int prepare_distrenjob(struct distrenjob
 
  int counter2;
 
  int counter;
 
  int tmp;
 
  char *path_with_num;
 

	
 
  struct distrenjob *distrenjob;
 
  tmp = distrenjob_new(&distrenjob);
 
@@ -285,6 +286,9 @@ int prepare_distrenjob(struct distrenjob
 
    counter2++;
 
  }
 

	
 
  _distren_asprintf(&path_with_num, "stor/job%d/out/", distrenjob->jobnum);
 
  fprintf(stderr, "creating dir '%s'", path_with_num);
 

	
 
  /* add job to queue */
 
  fprintf(stderr, "\nprepare_distrenjob: attempting makeJobDataXML()\n");
 
  makeJobDataXML(distrenjob);
 
@@ -970,7 +974,7 @@ int main(int argc, char *argv[])
 
  cont = 1;
 
  memset(&head, '\0', sizeof(struct distrenjob));
 

	
 
  start_data(&head); // Starts fresh or loads data from xml dump. Should we grab the return?
 
  //start_data(&head); // Starts fresh or loads data from xml dump. Should we grab the return?
 

	
 
  distrend_do_config(argc, argv, &config);
 

	
0 comments (0 inline, 0 general)