Explorar el Código

replaces confusing error message at comparing the file suffix (Debian #499445)

master
Dmitry Smirnov hace 11 años
padre
commit
26b7d5295f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      src/lib/cuefile.c

+ 2
- 2
src/lib/cuefile.c Ver fichero

@@ -18,7 +18,7 @@ Cd *cf_parse(char *name, int *format)

if (UNKNOWN == *format) {
if (UNKNOWN == (*format = cf_format_from_suffix(name))) {
fprintf(stderr, "%s: unknown format\n", name);
fprintf(stderr, "%s: unknown file suffix\n", name);
return NULL;
}
}
@@ -52,7 +52,7 @@ int cf_print(char *name, int *format, Cd *cd)

if (UNKNOWN == *format) {
if (UNKNOWN == (*format = cf_format_from_suffix(name))) {
fprintf(stderr, "%s: unknown format\n", name);
fprintf(stderr, "%s: unknown file suffix\n", name);
return -1;
}
}


Cargando…
Cancelar
Guardar