[BACK]Return to doas.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / doas

Diff for /src/usr.bin/doas/doas.c between version 1.28 and 1.29

version 1.28, 2015/07/27 15:38:11 version 1.29, 2015/07/28 14:08:52
Line 256 
Line 256 
                         size_t j;                          size_t j;
                         for (j = 0; j < nextras; j++) {                          for (j = 0; j < nextras; j++) {
                                 if (strcmp(extra[j], safeset[i]) == 0) {                                  if (strcmp(extra[j], safeset[i]) == 0) {
                                         extra[j--] = extra[nextras--];                                          nextras--;
                                           extra[j] = extra[nextras];
                                         extra[nextras] = NULL;                                          extra[nextras] = NULL;
                                           j--;
                                 }                                  }
                         }                          }
                 }                  }

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29