summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-22 09:18:40 +0100
committerVolker Lendecke <vl@samba.org>2008-01-22 09:23:27 +0100
commit6a69bc3ef99349edf78b5dec9a029366985f23b9 (patch)
tree7bcfe441c9a928c76c854832b7c33dfe141b9c9f /source3
parent597b28b86ed99acfb488afb86b11fe48538cf169 (diff)
downloadsamba-6a69bc3ef99349edf78b5dec9a029366985f23b9.tar.gz
samba-6a69bc3ef99349edf78b5dec9a029366985f23b9.tar.bz2
samba-6a69bc3ef99349edf78b5dec9a029366985f23b9.zip
Fix get_ea_names_from_file for many EAs
Found by the IBM checker (This used to be commit 8741a9b37496e78b28d59d844aaba12f269171e0)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 9c48cdfbba..896d2dee14 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -210,7 +210,7 @@ NTSTATUS get_ea_names_from_file(TALLOC_CTX *mem_ctx, connection_struct *conn,
ea_namelist_size);
}
- if ((sizeret == -1) && (errno = ERANGE)) {
+ if ((sizeret == -1) && (errno == ERANGE)) {
ea_namelist_size *= 2;
}
else {