Changeset - 7c98a38ebf04
[Not reviewed]
default
0 1 0
LordOfWar - 16 years ago 2009-10-01 05:03:47

fixed simple error in main()'s user interface where it would exit the user interface when you chose to print all the jobnums in the queue
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -575,7 +575,7 @@ int main(int argc, char *argv[])
 

	
 
    scanf("%d", &command);
 

	
 
    if(command == 6)
 
    if(command == 7)
 
      break;
 

	
 
    switch(command)
 
@@ -613,6 +613,8 @@ int main(int argc, char *argv[])
 
    case 6:
 
      printAllJobnums(&head);
 
      break;
 
    default:
 
      printf("invalid input");
 
    }
 
  }
 

	
0 comments (0 inline, 0 general)