The branch, master has been updated via 6ba09e0 s3:smbd:smb2: fix an assignment-instead-of-check bug conn_snum_used() from 204c075 Revert "s4-drs: do not try to contact for replication servers that are not anymore in reps*"
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 6ba09e039e4efee33ce6b8cd9f919409656c2afb Author: Michael Adam <ob...@samba.org> Date: Wed Feb 1 14:25:12 2012 +0000 s3:smbd:smb2: fix an assignment-instead-of-check bug conn_snum_used() Accidential "=" instead of "==". Autobuild-User: Michael Adam <ob...@samba.org> Autobuild-Date: Wed Feb 1 17:10:15 CET 2012 on sn-devel-104 ----------------------------------------------------------------------- Summary of changes: source3/smbd/conn.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/smbd/conn.c b/source3/smbd/conn.c index f9ccfd9..e17d374 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; } } -- Samba Shared Repository