noice

small file browser
git clone git://git.2f30.org/noice
Log | Files | Refs | README | LICENSE

commit 0b0869ab44c3622826d183ea8ff12e5f29a1ce49
parent 6b51ec45854bea03a344e77a2cedff9df062cb78
Author: lostd <lostd@2f30.org>
Date:   Wed,  8 Oct 2014 18:37:55 +0300

Move debug print after return value check

Diffstat:
Mnoice.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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);