summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-12-30 15:43:21 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-12-30 15:43:21 +0100
commitc65133979fa79f0695a126c0324c4917e51242d8 (patch)
treecfaec31fda46753e1a4e1136647b30611b7836e9 /svdrp.c
parent54af5518e47d61b9c674ca9a72defb87aac07baf (diff)
downloadvdr-c65133979fa79f0695a126c0324c4917e51242d8.tar.gz
vdr-c65133979fa79f0695a126c0324c4917e51242d8.tar.bz2
Changed all "illegal" to "invalid" in error messages
Diffstat (limited to 'svdrp.c')
-rw-r--r--svdrp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/svdrp.c b/svdrp.c
index 7d84ed4d..086b01cb 100644
--- a/svdrp.c
+++ b/svdrp.c
@@ -10,7 +10,7 @@
* and interact with the Video Disk Recorder - or write a full featured
* graphical interface that sits on top of an SVDRP connection.
*
- * $Id: svdrp.c 1.88 2005/12/30 15:11:16 kls Exp $
+ * $Id: svdrp.c 1.89 2005/12/30 15:42:29 kls Exp $
*/
#include "svdrp.h"
@@ -695,7 +695,7 @@ void cSVDRP::CmdGRAB(const char *Option)
if (isnumber(p))
Quality = atoi(p);
else {
- Reply(501, "Illegal quality \"%s\"", p);
+ Reply(501, "Invalid quality \"%s\"", p);
return;
}
}
@@ -705,14 +705,14 @@ void cSVDRP::CmdGRAB(const char *Option)
if (isnumber(p))
SizeX = atoi(p);
else {
- Reply(501, "Illegal sizex \"%s\"", p);
+ Reply(501, "Invalid sizex \"%s\"", p);
return;
}
if ((p = strtok_r(NULL, delim, &strtok_next)) != NULL) {
if (isnumber(p))
SizeY = atoi(p);
else {
- Reply(501, "Illegal sizey \"%s\"", p);
+ Reply(501, "Invalid sizey \"%s\"", p);
return;
}
}
@@ -738,7 +738,7 @@ void cSVDRP::CmdGRAB(const char *Option)
*slash = '/';
if (!r) {
LOG_ERROR_STR(FileName);
- Reply(501, "Illegal file name \"%s\"", FileName);
+ Reply(501, "Invalid file name \"%s\"", FileName);
free(s);
return;
}
@@ -746,7 +746,7 @@ void cSVDRP::CmdGRAB(const char *Option)
FileName = RealFileName;
free(s);
if (strncmp(FileName, grabImageDir, strlen(grabImageDir)) != 0) {
- Reply(501, "Illegal file name \"%s\"", FileName);
+ Reply(501, "Invalid file name \"%s\"", FileName);
return;
}
}