Skip to content

Commit

Permalink
Fixed #246: Use '&' instead of '&&' for a bitwise operation (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiridanek authored Mar 28, 2022
1 parent 6e17aef commit cfb31ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/message.c
Original file line number Diff line number Diff line change
Expand Up @@ -1708,7 +1708,7 @@ uint32_t _compose_router_annotations(qd_message_pvt_t *msg, unsigned int ra_flag
}

// index 3: trace list
if (!!(ra_flags && QD_MESSAGE_RA_STRIP_TRACE)) {
if (!!(ra_flags & QD_MESSAGE_RA_STRIP_TRACE)) {
qd_compose_empty_list(ra);
} else {
qd_compose_start_list(ra);
Expand Down

0 comments on commit cfb31ce

Please sign in to comment.