git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
597b28b
)
Fix get_ea_names_from_file for many EAs
author
Volker Lendecke
<vl@samba.org>
Tue, 22 Jan 2008 08:18:40 +0000
(09:18 +0100)
committer
Volker Lendecke
<vl@samba.org>
Tue, 22 Jan 2008 08:23:27 +0000
(09:23 +0100)
Found by the IBM checker
(This used to be commit
8741a9b37496e78b28d59d844aaba12f269171e0
)
source3/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source3/smbd/trans2.c
b/source3/smbd/trans2.c
index 9c48cdfbba02590b8ada9abf7ef8cd212c0b44f9..896d2dee142244deb603956ff8db5334166e8d8d 100644
(file)
--- 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 {