[PATCH] fss: Fix CID 1293354 Wrong operator used

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Apr 8 08:48:22 MDT 2015


Hi!

Review&push appreciated!

Thanks,

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
From 6e5e1b78863c898e9876dd53745f17ae9d7ca5c0 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Wed, 8 Apr 2015 16:46:44 +0200
Subject: [PATCH] fss: Fix CID 1293354 Wrong operator used

Not used right now, but prevent future confusion.

Signed-off-by: Volker Lendecke <vl at samba.org>
---
 source3/rpc_server/fss/srv_fss_agent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source3/rpc_server/fss/srv_fss_agent.c b/source3/rpc_server/fss/srv_fss_agent.c
index 46d9a01..19578cc 100644
--- a/source3/rpc_server/fss/srv_fss_agent.c
+++ b/source3/rpc_server/fss/srv_fss_agent.c
@@ -1287,7 +1287,7 @@ uint32_t _fss_RecoveryCompleteShadowCopySet(struct pipes_struct *p,
 	/* stop msg sequence timer */
 	TALLOC_FREE(fss_global.seq_tmr);
 
-	if (sc_set->context | ATTR_NO_AUTO_RECOVERY) {
+	if (sc_set->context & ATTR_NO_AUTO_RECOVERY) {
 		/* TODO set read-only */
 	}
 
-- 
1.9.1



More information about the samba-technical mailing list