瀏覽代碼

Move debug print after return value check

master
lostd 10 年之前
父節點
當前提交
0b0869ab44
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      noice.c

+ 1
- 1
noice.c 查看文件

@@ -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);


||||||
x
 
000:0
Loading…
取消
儲存