From 63873dafd5ab98102e7adb4dc6e611314b711ef2 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Sun, 15 Feb 2004 20:31:23 +0000 Subject: thank you, valgrind CVS patchset: 6162 CVS date: 2004/02/15 20:31:23 --- src/input/input_http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/input') diff --git a/src/input/input_http.c b/src/input/input_http.c index da202607f..dad6a09c3 100644 --- a/src/input/input_http.c +++ b/src/input/input_http.c @@ -19,7 +19,7 @@ * * input plugin for http network streams * - * $Id: input_http.c,v 1.82 2004/01/23 00:01:08 valtri Exp $ + * $Id: input_http.c,v 1.83 2004/02/15 20:31:23 mroi Exp $ */ #ifdef HAVE_CONFIG_H @@ -448,7 +448,7 @@ static uint32_t http_plugin_get_capabilities (input_plugin_t *this_gen) { uint32_t caps = INPUT_CAP_PREVIEW; /* Nullsoft asked to not allow saving streaming nsv files */ - if (this->uri && + if (this->uri && strlen(this->uri) >= 4 && !strncmp(this->uri + strlen(this->uri) - 4, ".nsv", 4)) caps |= INPUT_CAP_RIP_FORBIDDEN; -- cgit v1.2.3