summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-24 16:38:44 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-24 16:38:44 +0200
commit791f9e09b82b5382f6005482a4e3faa62ce30fae (patch)
tree30f148a1d9aabadddbe35b974f75ae767b17e3a5
parent23302413b3fc9cb3695a255b1ea6883f029b46fe (diff)
parent2a76f4d8c832155253be971975b0ac50649c7515 (diff)
downloadsamba-791f9e09b82b5382f6005482a4e3faa62ce30fae.tar.gz
samba-791f9e09b82b5382f6005482a4e3faa62ce30fae.tar.bz2
samba-791f9e09b82b5382f6005482a4e3faa62ce30fae.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba
-rw-r--r--source3/libsmb/libsmb_file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/libsmb_file.c b/source3/libsmb/libsmb_file.c
index 7b287096c2..ece056db87 100644
--- a/source3/libsmb/libsmb_file.c
+++ b/source3/libsmb/libsmb_file.c
@@ -518,7 +518,7 @@ SMBC_getatr(SMBCCTX * context,
errno = EINVAL;
TALLOC_FREE(frame);
- return -1;
+ return False;
}
/* path fixup for . and .. */
@@ -527,14 +527,14 @@ SMBC_getatr(SMBCCTX * context,
if (!fixedpath) {
errno = ENOMEM;
TALLOC_FREE(frame);
- return -1;
+ return False;
}
} else {
fixedpath = talloc_strdup(frame, path);
if (!fixedpath) {
errno = ENOMEM;
TALLOC_FREE(frame);
- return -1;
+ return False;
}
trim_string(fixedpath, NULL, "\\..");
trim_string(fixedpath, NULL, "\\.");