Skip to content
Snippets Groups Projects
  • Naveen Albert's avatar
    a9e9e15c
    res_rtp_asterisk: Fix typo in flag test/set · a9e9e15c
    Naveen Albert authored
    The code currently checks to see if an RFC3389
    warning flag is set, except if it is, it merely
    sets the flag again, the logic of which doesn't
    make any sense.
    
    This adjusts the if comparison to check if the
    flag has NOT been set, and if so, emit a notice
    log event and set the flag so that future frames
    do not cause an event to be logged.
    
    ASTERISK-29856 #close
    
    Change-Id: Ib7098c947c63537d087a03b4646199fbb963f8e1
    a9e9e15c
    History
    res_rtp_asterisk: Fix typo in flag test/set
    Naveen Albert authored
    The code currently checks to see if an RFC3389
    warning flag is set, except if it is, it merely
    sets the flag again, the logic of which doesn't
    make any sense.
    
    This adjusts the if comparison to check if the
    flag has NOT been set, and if so, emit a notice
    log event and set the flag so that future frames
    do not cause an event to be logged.
    
    ASTERISK-29856 #close
    
    Change-Id: Ib7098c947c63537d087a03b4646199fbb963f8e1