Merge commit '12b14382861fbf19378afcddaa19cd9a949a86a3'
* commit '12b14382861fbf19378afcddaa19cd9a949a86a3': udp: Provide additional information on getaddrinfo failure Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
commit
a6dac0b410
@ -258,7 +258,9 @@ static struct addrinfo *udp_resolve_host(URLContext *h,
|
|||||||
hints.ai_flags = flags;
|
hints.ai_flags = flags;
|
||||||
if ((error = getaddrinfo(node, service, &hints, &res))) {
|
if ((error = getaddrinfo(node, service, &hints, &res))) {
|
||||||
res = NULL;
|
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));
|
gai_strerror(error));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user