diff options
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c index b74bc8c..5259af8 100644 --- a/src/utils.c +++ b/src/utils.c @@ -168,7 +168,6 @@ char *feh_unique_filename(char *path, char *basename) struct stat st; pid_t ppid; - D_ENTER(4); /* Massive paranoia ;) */ if (i > 999998) i = 1; @@ -182,7 +181,7 @@ char *feh_unique_filename(char *path, char *basename) tmpname = estrjoin("", path, "feh_", cppid, "_", num, "_", basename, NULL); } while (stat(tmpname, &st) == 0); - D_RETURN(4, tmpname); + return(tmpname); } /* reads file into a string, but limits o 4095 chars and ensures a \0 */ |