diff options
-rw-r--r-- | source4/smbd/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smbd/server.c b/source4/smbd/server.c index 1357541cea..d6f2afdaea 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -59,7 +59,7 @@ static void cleanup_tmp_files(void) * Don't try to delete . and .. */ if (strcmp(de->d_name, ".") != 0 && - strcmp(de->d_name, "..")) { + strcmp(de->d_name, "..") != 0) { char *fname = talloc_asprintf(mem_ctx, "%s/%s", path, de->d_name); int ret = unlink(fname); if (ret == -1 && |