Commit 9fffb689 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Cosmetics

parent 5cdaa679
...@@ -869,7 +869,7 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp ) ...@@ -869,7 +869,7 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
if (strchr (psz_uri + 1, ':')) if (strchr (psz_uri + 1, ':'))
{ {
host = psz_uri; host = psz_uri;
psz_uri[strlen (psz_uri)] = ']'; strcat (psz_uri, "]");
} }
else else
host = psz_uri + 1; host = psz_uri + 1;
...@@ -957,7 +957,7 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp ) ...@@ -957,7 +957,7 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
psz_source_ip) == 2) psz_source_ip) == 2)
{ {
/* According to RFC4570, FQDNs can be used for source-filters, /* According to RFC4570, FQDNs can be used for source-filters,
* but -seriously- this is impractical */ * but -seriously- this is impractical */
switch (ipv) switch (ipv)
{ {
#ifdef AF_INET6 #ifdef AF_INET6
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment