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

Diff for /src/usr.bin/cdio/cddb.c between version 1.15 and 1.16

version 1.15, 2008/04/27 23:06:40 version 1.16, 2011/04/06 11:36:26
Line 295 
Line 295 
         }          }
         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;
                 }                  }

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16