summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpc_server/epmapper/srv_epmapper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/epmapper/srv_epmapper.c b/source3/rpc_server/epmapper/srv_epmapper.c
index c492580258..58f2220264 100644
--- a/source3/rpc_server/epmapper/srv_epmapper.c
+++ b/source3/rpc_server/epmapper/srv_epmapper.c
@@ -743,7 +743,7 @@ error_status_t _epm_Lookup(struct pipes_struct *p,
if (r->in.interface_id->vers_major ==
(eps->e[i].syntax_id.if_version >> 16) &&
r->in.interface_id->vers_minor <=
- (eps->e[i].syntax_id.if_version && 0xFFFF)) {
+ (eps->e[i].syntax_id.if_version & 0xFFFF)) {
match = true;
}
break;
@@ -756,7 +756,7 @@ error_status_t _epm_Lookup(struct pipes_struct *p,
if (r->in.interface_id->vers_major ==
(eps->e[i].syntax_id.if_version >> 16) &&
r->in.interface_id->vers_minor ==
- (eps->e[i].syntax_id.if_version && 0xFFFF)) {
+ (eps->e[i].syntax_id.if_version & 0xFFFF)) {
match = true;
}
match = true;
@@ -789,7 +789,7 @@ error_status_t _epm_Lookup(struct pipes_struct *p,
if (r->in.interface_id->vers_major ==
(eps->e[i].syntax_id.if_version >> 16) &&
r->in.interface_id->vers_minor >=
- (eps->e[i].syntax_id.if_version && 0xFFFF)) {
+ (eps->e[i].syntax_id.if_version & 0xFFFF)) {
match = true;
}
}