diff options
author | Volker Lendecke <vl@samba.org> | 2008-01-22 09:18:40 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-01-22 09:23:27 +0100 |
commit | 8741a9b37496e78b28d59d844aaba12f269171e0 (patch) | |
tree | a4eb0e585af653d64c6e1df0514cf331c8a5e7a4 /source/smbd | |
parent | c8def5564739c4c754001f84fcfb77f1093b96c3 (diff) | |
download | samba-8741a9b37496e78b28d59d844aaba12f269171e0.tar.gz samba-8741a9b37496e78b28d59d844aaba12f269171e0.tar.xz samba-8741a9b37496e78b28d59d844aaba12f269171e0.zip |
Fix get_ea_names_from_file for many EAs
Found by the IBM checker
Diffstat (limited to 'source/smbd')
-rw-r--r-- | source/smbd/trans2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c index 9c48cdfbba0..896d2dee142 100644 --- a/source/smbd/trans2.c +++ b/source/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 { |