equal
deleted
inserted
replaced
146 command_line.request = c_INFO; |
146 command_line.request = c_INFO; |
147 command_line.jobid = atoi(optarg); |
147 command_line.jobid = atoi(optarg); |
148 break; |
148 break; |
149 case 'N': |
149 case 'N': |
150 command_line.num_slots = atoi(optarg); |
150 command_line.num_slots = atoi(optarg); |
|
151 if (command_line.num_slots < 0) |
|
152 command_line.num_slots = 0; |
151 break; |
153 break; |
152 case 'r': |
154 case 'r': |
153 command_line.request = c_REMOVEJOB; |
155 command_line.request = c_REMOVEJOB; |
154 command_line.jobid = atoi(optarg); |
156 command_line.jobid = atoi(optarg); |
155 break; |
157 break; |