diff options
author | Richard Sharpe <sharpe@samba.org> | 2005-04-04 16:42:31 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 2005-04-04 16:42:31 +0000 |
commit | aa3740e0e37f08ade5f6c75d050d58567b718a97 (patch) | |
tree | 99b492c387cdb79bf5f2225c95af1eea51db7210 | |
parent | 535a7e4a3bca956f9c1d00851d98e107ccccedb6 (diff) | |
download | samba-aa3740e0e37f08ade5f6c75d050d58567b718a97.tar.gz samba-aa3740e0e37f08ade5f6c75d050d58567b718a97.tar.xz samba-aa3740e0e37f08ade5f6c75d050d58567b718a97.zip |
r6196: Make the comparisons consistent with in the same expression.
-rw-r--r-- | source/smbd/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/server.c b/source/smbd/server.c index 1357541cead..d6f2afdaea4 100644 --- a/source/smbd/server.c +++ b/source/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 && |