From 89f03dc4ebe5a1693597a74247f0a5e24a5ac1be Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Mon, 4 Apr 2005 16:42:31 +0000 Subject: [PATCH] r6196: Make the comparisons consistent with in the same expression. (This used to be commit 6f7337163e2eaae2d24ccebcd31787e48f543fbf) --- source4/smbd/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/smbd/server.c b/source4/smbd/server.c index 1357541cead..d6f2afdaea4 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 && -- 2.11.4.GIT