Permalink
Browse files

Merge pull request #16 from couchbasedeps/fix/missing-parens

Fixed a logic error due to missing parens
  • Loading branch information...
darconeous committed Jul 7, 2018
2 parents 1dbe815 + 195be31 commit 6527b50219fd88f8ac36217ac11d007d2b775235
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/libnyoci/nyoci-outbound.c
@@ -320,7 +320,7 @@ nyoci_outbound_add_options_up_to_key_(
#if NYOCI_CONF_TRANS_ENABLE_OBSERVING
if ( (self->current_transaction != NULL)
&& (self->current_transaction->flags & NYOCI_TRANSACTION_OBSERVE == NYOCI_TRANSACTION_OBSERVE)
&& ((self->current_transaction->flags & NYOCI_TRANSACTION_OBSERVE) == NYOCI_TRANSACTION_OBSERVE)
&& (self->outbound.last_option_key < COAP_OPTION_OBSERVE)
&& (key > COAP_OPTION_OBSERVE)
) {

0 comments on commit 6527b50

Please sign in to comment.