git.samba.org
/
tridge
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
204c075
)
s3:smbd:smb2: fix an assignment-instead-of-check bug conn_snum_used()
author
Michael Adam
<obnox@samba.org>
Wed, 1 Feb 2012 14:25:12 +0000
(14:25 +0000)
committer
Michael Adam
<obnox@samba.org>
Wed, 1 Feb 2012 16:10:13 +0000
(17:10 +0100)
Accidential "=" instead of "==".
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb 1 17:10:15 CET 2012 on sn-devel-104
source3/smbd/conn.c
patch
|
blob
|
history
diff --git
a/source3/smbd/conn.c
b/source3/smbd/conn.c
index f9ccfd96f564d22d184a115c83566ea5732b3c2b..e17d3744e59cfea0b585e6a35f67b224a1ef9e1c 100644
(file)
--- a/
source3/smbd/conn.c
+++ b/
source3/smbd/conn.c
@@
-66,7
+66,7
@@
bool conn_snum_used(struct smbd_server_connection *sconn,
for (ptcon = sess->tcons.list; ptcon; ptcon = ptcon->next) {
if (ptcon->compat_conn &&
ptcon->compat_conn->params &&
- (ptcon->compat_conn->params->service = snum)) {
+ (ptcon->compat_conn->params->service =
=
snum)) {
return true;
}
}