diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2004-05-09 17:42:23 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2004-05-09 17:42:23 +0000 |
commit | be2070e8aa26110339dd8dfce992687cbd10f584 (patch) | |
tree | d02572d5e05f19695709ebbf47783ba5bf32d7e2 /src/input/input_http.c | |
parent | 3165dc12b06a73edd40bc34f11bdd13eb6844690 (diff) | |
download | xine-lib-be2070e8aa26110339dd8dfce992687cbd10f584.tar.gz xine-lib-be2070e8aa26110339dd8dfce992687cbd10f584.tar.bz2 |
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
Diffstat (limited to 'src/input/input_http.c')
-rw-r--r-- | src/input/input_http.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |