This label means we detected a bogus line, and want to skip it and jump
to the next one; rename it accordingly. 'again' seemed to say that it
was somehow looping on the same line.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
* - parse off a list of days and times
*/
-again:
+next:
/*
* Get the next line and remove optional trailing '\n'.
return 0;
}
if ('#' == buf[0]) {
- goto again;
+ goto next;
}
/*
port.pt_names[j] = cp;
cp = strpbrk(cp, ":,");
if (cp == NULL)
- goto again; /* line format error */
+ goto next; /* line format error */
if (':' == *cp) { /* end of tty name list */
break;
}
if (':' != *cp) {
- goto again;
+ goto next;
}
stpcpy(cp++, "");
}
if (('-' != cp[i]) || (dtime > 2400) || ((dtime % 100) > 59)) {
- goto again;
+ goto next;
}
port.pt_times[j].t_start = dtime;
cp = cp + i + 1;
if ( ((',' != cp[i]) && ('\0' != cp[i]))
|| (dtime > 2400)
|| ((dtime % 100) > 59)) {
- goto again;
+ goto next;
}
port.pt_times[j].t_end = dtime;