# HG changeset patch # User rbultje # Date 1237669328 0 # Node ID 52b8ffbf5d280fb6e4fc49e311a2e6f4ad1aeadc # Parent dd4e4ba1535fda6741902de2fbd2608f80a2fa06 Remove slash-skipping code because the function called right after that statement (get_word_sep()) already does that all by itself. See summary in "[PATCH] rtsp.c small cleanups" thread on mailinglist. diff -r dd4e4ba1535f -r 52b8ffbf5d28 rtsp.c --- a/rtsp.c Sat Mar 21 21:00:51 2009 +0000 +++ b/rtsp.c Sat Mar 21 21:02:08 2009 +0000 @@ -584,14 +584,11 @@ get_word_sep(transport_protocol, sizeof(transport_protocol), "/", &p); - if (*p == '/') - p++; if (!strcasecmp (transport_protocol, "rtp")) { get_word_sep(profile, sizeof(profile), "/;,", &p); lower_transport[0] = '\0'; /* rtp/avp/ */ if (*p == '/') { - p++; get_word_sep(lower_transport, sizeof(lower_transport), ";,", &p); }