From be2070e8aa26110339dd8dfce992687cbd10f584 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Sun, 9 May 2004 17:42:23 +0000 Subject: Valid error description for gethostbyname. Obsolete function hstrerror() has no replacement, so it's used, but with configure check. CVS patchset: 6503 CVS date: 2004/05/09 17:42:23 --- src/input/input_http.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/input') diff --git a/src/input/input_http.c b/src/input/input_http.c index 12e20bd5b..5d8dfad6d 100644 --- a/src/input/input_http.c +++ b/src/input/input_http.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000-2003 the xine project + * Copyright (C) 2000-2004 the xine project * * This file is part of xine, a free video player. * @@ -19,7 +19,7 @@ * * input plugin for http network streams * - * $Id: input_http.c,v 1.87 2004/05/04 22:26:13 tmattern Exp $ + * $Id: input_http.c,v 1.88 2004/05/09 17:42:23 valtri Exp $ */ #ifdef HAVE_CONFIG_H @@ -173,7 +173,7 @@ static int _x_use_proxy(http_input_class_t *this, const char *host) { if ((info = gethostbyname(host)) == NULL) { xine_log(this->xine, XINE_LOG_MSG, _("input_http: gethostbyname(%s) failed: %s\n"), host, - strerror(errno)); + xine_hstrerror(h_errno)); return 1; } if (!info->h_name) return 1; -- cgit v1.2.3