Trisurf Monte Carlo simulator
Samo Penic
2016-05-15 bb207499ba467145aabb379b841094afd6d695c0
test/parsecmdline.c
@@ -6,13 +6,12 @@
   char *commands, *backup, *saveptr, *saveopptr, *command, *operator[2], *operand;
   int i,j;
   commands=(char *)malloc(10000*sizeof(char));
   backup=commands;
   if(argv!=2){
      fprintf(stderr, "Error. Usage: parsecmdline cmd1=1,cmd2=2,...\n");
      exit(1);
   }
   commands=(char *)malloc(10000*sizeof(char));
    backup=commands;
   strcpy(commands,argc[1]);
   
@@ -37,6 +36,5 @@
   }
   free(backup);
return 0;
    return 0;
}