diff options
author | Michael Adam <obnox@samba.org> | 2012-02-01 14:25:12 +0000 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-02-01 17:10:13 +0100 |
commit | 6ba09e039e4efee33ce6b8cd9f919409656c2afb (patch) | |
tree | 71f865df94bbb4e3cfeadad996955360c5e75b3c /source3/smbd | |
parent | 204c07501d05f3d7e4657ce4422709ad64e087e2 (diff) | |
download | samba-6ba09e039e4efee33ce6b8cd9f919409656c2afb.tar.gz samba-6ba09e039e4efee33ce6b8cd9f919409656c2afb.tar.bz2 samba-6ba09e039e4efee33ce6b8cd9f919409656c2afb.zip |
s3:smbd:smb2: fix an assignment-instead-of-check bug conn_snum_used()
Accidential "=" instead of "==".
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb 1 17:10:15 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/conn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/conn.c b/source3/smbd/conn.c index f9ccfd96f5..e17d3744e5 100644 --- 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; } } |