Return to cddb.c CVS log | Up to [local] / src / usr.bin / cdio |
version 1.15, 2008/04/27 23:06:40 | version 1.16, 2011/04/06 11:36:26 | ||
---|---|---|---|
|
|
||
} | } | ||
if (strcmp(line, "211") == 0 || strcmp(line, "212") == 0) { | if (strcmp(line, "211") == 0 || strcmp(line, "212") == 0) { | ||
int number = strtonum(arg, 0, INT_MAX, &errstr); | int number = strtonum(arg, 0, INT_MAX, &errstr); | ||
if (errstr != NULL && *arg != NULL) { | if (errstr != NULL && *arg != '\0') { | ||
warnx("cddb: invalid index"); | warnx("cddb: invalid index"); | ||
goto end; | goto end; | ||
} | } |