• Jakub Adam's avatar
    udp-turn: don't re-iterate incoming TURN control messages · 5aa49920
    Jakub Adam authored
    After being parsed, a TURN control message turns into a NiceInputMessage
    with zero length. Such message doesn't increment the iteration counter i
    and so is re-processed in the next iteration, which detects right away
    that message->length == 0 and continues to the next element in
    recv_messages.
    
    Thus, n_valid_messages variable serves no real purpose and to achieve
    the same result we can simply increment the iteration counter after each
    message.
    5aa49920
Name
Last commit
Last update
agent Loading commit data...
docs Loading commit data...
examples Loading commit data...
gst Loading commit data...
m4 Loading commit data...
nice Loading commit data...
random Loading commit data...
scripts Loading commit data...
socket Loading commit data...
stun Loading commit data...
tests Loading commit data...
win32/vs9 Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LGPL Loading commit data...
COPYING.MPL Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.win32 Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
common.mk Loading commit data...
configure.ac Loading commit data...