[SCM] Samba Shared Repository - branch v3-5-test updated

Volker Lendecke vlendec at samba.org
Sat Dec 12 09:00:01 MST 2009


The branch, v3-5-test has been updated
       via  d2453d9... s3: Fix a very embarrassing build failure
      from  54d072b... s3:docs: document ldap deref

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test


- Log -----------------------------------------------------------------
commit d2453d9a944e2d8ecebeecb94014057dd4fc0fd6
Author: Volker Lendecke <vl at samba.org>
Date:   Sat Dec 12 16:58:31 2009 +0100

    s3: Fix a very embarrassing build failure

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/quotas.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/quotas.c b/source3/smbd/quotas.c
index 8c443b6..1ad2b93 100644
--- a/source3/smbd/quotas.c
+++ b/source3/smbd/quotas.c
@@ -328,7 +328,7 @@ bool disk_quotas(const char *path, uint64_t *bsize, uint64_t *dfree, uint64_t *d
 	}
 
 	while ((mnt = getmntent(fd)) != NULL) {
-		if (sys_stat(mnt->mnt_dir, &sbuf, false) {
+		if (sys_stat(mnt->mnt_dir, &sbuf, false) == -1) {
 			continue;
 		}
 		if (sbuf.st_ex_dev == devno) {
@@ -599,7 +599,7 @@ bool disk_quotas(const char *path,
 
 	euser_id = geteuid();
 
-	if (sys_stat(path, &sbuf, false) {
+	if (sys_stat(path, &sbuf, false) == -1) {
 		return false;
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list