aboutsummaryrefslogtreecommitdiffstats
path: root/noice.c
diff options
context:
space:
mode:
authorlostd <lostd@2f30.org>2014-10-08 18:37:55 +0300
committerlostd <lostd@2f30.org>2014-10-08 18:37:55 +0300
commit0b0869ab44c3622826d183ea8ff12e5f29a1ce49 (patch)
tree5d5d793b4ac82b517258bc6ac72ffc3bba9b0ac1 /noice.c
parent6b51ec45854bea03a344e77a2cedff9df062cb78 (diff)
downloadnoice-0b0869ab44c3622826d183ea8ff12e5f29a1ce49.tar.gz
Move debug print after return value check
Diffstat (limited to 'noice.c')
-rw-r--r--noice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/noice.c b/noice.c
index 07f2f78..e61e820 100644
--- a/noice.c
+++ b/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);
Un proyecto texto-plano.xyz