diff options
author | Richard Sharpe <sharpe@samba.org> | 2005-04-04 16:42:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:25 -0500 |
commit | 89f03dc4ebe5a1693597a74247f0a5e24a5ac1be (patch) | |
tree | 609b8ac33d9b551fd1b57e51a054e14c40fe6084 /source4 | |
parent | d3911fa5d7fbc00c185eb95ff06b9c83b4e5afdc (diff) | |
download | samba-89f03dc4ebe5a1693597a74247f0a5e24a5ac1be.tar.gz samba-89f03dc4ebe5a1693597a74247f0a5e24a5ac1be.tar.bz2 samba-89f03dc4ebe5a1693597a74247f0a5e24a5ac1be.zip |
r6196: Make the comparisons consistent with in the same expression.
(This used to be commit 6f7337163e2eaae2d24ccebcd31787e48f543fbf)
Diffstat (limited to 'source4')
-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 && |