svn commit: samba r6196 - in branches/SAMBA_4_0/source/smbd: .
sharpe at samba.org
sharpe at samba.org
Mon Apr 4 16:42:33 GMT 2005
Author: sharpe
Date: 2005-04-04 16:42:31 +0000 (Mon, 04 Apr 2005)
New Revision: 6196
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6196
Log:
Make the comparisons consistent with in the same expression.
Modified:
branches/SAMBA_4_0/source/smbd/server.c
Changeset:
Modified: branches/SAMBA_4_0/source/smbd/server.c
===================================================================
--- branches/SAMBA_4_0/source/smbd/server.c 2005-04-04 16:40:23 UTC (rev 6195)
+++ branches/SAMBA_4_0/source/smbd/server.c 2005-04-04 16:42:31 UTC (rev 6196)
@@ -59,7 +59,7 @@
* 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 &&
More information about the samba-cvs
mailing list