Clean up poorly chosen loop control variable names

Calling a counting loop's control variable q or x is tasteless
bordering on actively misleading.
This commit is contained in:
Markus Armbruster 2009-02-21 15:30:13 +01:00
parent a2557a1dec
commit a61e673a07
5 changed files with 47 additions and 47 deletions

View file

@ -174,8 +174,8 @@ main(int argc, char *argv[])
printf("Can't make telegram directory\n");
exit(1);
}
for (x = MAXNOC - 1; x >= 0; x--) {
filename = mailbox(buf, x);
for (i = 0; i < MAXNOC; i++) {
filename = mailbox(buf, i);
close(creat(filename, S_IRWUG));
}
close(creat(annfil, S_IRWUG));