summaryrefslogtreecommitdiff
path: root/src/xine-engine/input_rip.c
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2004-05-09 17:42:23 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2004-05-09 17:42:23 +0000
commitbe2070e8aa26110339dd8dfce992687cbd10f584 (patch)
treed02572d5e05f19695709ebbf47783ba5bf32d7e2 /src/xine-engine/input_rip.c
parent3165dc12b06a73edd40bc34f11bdd13eb6844690 (diff)
downloadxine-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/xine-engine/input_rip.c')
-rw-r--r--src/xine-engine/input_rip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xine-engine/input_rip.c b/src/xine-engine/input_rip.c
index dd524dff7..8035fc94a 100644
--- a/src/xine-engine/input_rip.c
+++ b/src/xine-engine/input_rip.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.
*
@@ -29,7 +29,7 @@
* - it's possible speeder saving streams in the xine without playing:
* xine stream_mrl#save:file.raw\;noaudio\;novideo
*
- * $Id: input_rip.c,v 1.21 2003/12/25 21:57:28 valtri Exp $
+ * $Id: input_rip.c,v 1.22 2004/05/09 17:42:23 valtri Exp $
*/
/* TODO:
@@ -570,7 +570,7 @@ input_plugin_t *_x_rip_plugin_get_instance (xine_stream_t *stream, const char *f
this->savepos = 0;
fnc = strdup(filename);
- target_basename = basename(fnc);
+ target_basename = xine_basename(fnc);
dir_file_concat(target, MAX_TARGET_LEN, stream->xine->save_path,
target_basename);
strcpy(target_no, target);