Submitter: Guy Harris (g...@alum.mit.edu)
Changed: branch: master
Repository: wireshark


e808832 by Guy Harris (g...@alum.mit.edu):

    One strstr() call suffices.
    If we've found "interleaved=" in the buffer *and*, if so, know where
    we've found it, we don't need to find it again; we can just use the
    result of the first strstr() call.
    That should also keep Visual Studio Code Analyzer from bogusly saying
    "hey, we might not have found it, maybe we're handing a bad pointer to
    Change-Id: I9d8f5c0b38038a3f05b8e5343f965f1676105875
    Reviewed-on: https://code.wireshark.org/review/26219
    Reviewed-by: Guy Harris <g...@alum.mit.edu>

Actions performed:

    from  24b5a55   quic: Make sure that we still build when certain libraries 
not found.
    adds  e808832   One strstr() call suffices.

Summary of changes:
 epan/dissectors/packet-rtsp.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Sent via:    Wireshark-commits mailing list <wireshark-commits@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-commits
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-commits

Reply via email to