Explorar el Código

Move debug print after return value check

master
lostd hace 11 años
padre
commit
0b0869ab44
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      noice.c

+ 1
- 1
noice.c Ver fichero

@@ -353,12 +353,12 @@ nochange:
}
r = fstat(fd, &sb);
close(fd);
DPRINTF_U(sb.st_mode);
if (r == -1) {
printwarn();
free(pathnew);
goto nochange;
}
DPRINTF_U(sb.st_mode);
/* Directory */
if (S_ISDIR(sb.st_mode)) {
free(path);


Cargando…
Cancelar
Guardar