Submitter: Guy Harris (g...@alum.mit.edu)
Changed: branch: master
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
Reviewed-by: Guy Harris <g...@alum.mit.edu>
from 24b5a55 quic: Make sure that we still build when certain libraries
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 <firstname.lastname@example.org>