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:
parent
a2557a1dec
commit
a61e673a07
5 changed files with 47 additions and 47 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue