Commit a6dac0b4 authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit '12b14382'

* commit '12b14382':
  udp: Provide additional information on getaddrinfo failure
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents bf543770 12b14382
......@@ -258,7 +258,9 @@ static struct addrinfo *udp_resolve_host(URLContext *h,
hints.ai_flags = flags;
if ((error = getaddrinfo(node, service, &hints, &res))) {
res = NULL;
av_log(h, AV_LOG_ERROR, "udp_resolve_host: %s\n",
av_log(h, AV_LOG_ERROR, "getaddrinfo(%s, %s): %s\n",
node ? node : "unknown",
service ? service : "unknown",
gai_strerror(error));
}
......
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