From 2b574bafa29082f78c19ff1ca214b34890cfcb79 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Fri, 19 Oct 2007 22:56:25 +0000 Subject: [PATCH] Modified error message. --- protocolext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocolext.c b/protocolext.c index 8ee39e8..6f5c37a 100644 --- a/protocolext.c +++ b/protocolext.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: protocolext.c,v 1.9 2007/10/19 22:54:03 rahrenbe Exp $ + * $Id: protocolext.c,v 1.10 2007/10/19 22:56:25 rahrenbe Exp $ */ #include @@ -278,7 +278,7 @@ bool cIptvProtocolExt::Set(const char* Location, const int Parameter, const int free(scriptFile); asprintf(&scriptFile, "%s/%s", IptvConfig.GetConfigDirectory(), Location); if ((stat(scriptFile, &stbuf) != 0) || (strstr(scriptFile, "..") != 0)) { - error("ERROR: Non-existent script '%s'", scriptFile); + error("ERROR: Non-existent or relative path script '%s'", scriptFile); return false; } scriptParameter = Parameter;