diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-12-30 15:43:21 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-12-30 15:43:21 +0100 |
commit | c65133979fa79f0695a126c0324c4917e51242d8 (patch) | |
tree | cfaec31fda46753e1a4e1136647b30611b7836e9 /svdrp.c | |
parent | 54af5518e47d61b9c674ca9a72defb87aac07baf (diff) | |
download | vdr-c65133979fa79f0695a126c0324c4917e51242d8.tar.gz vdr-c65133979fa79f0695a126c0324c4917e51242d8.tar.bz2 |
Changed all "illegal" to "invalid" in error messages
Diffstat (limited to 'svdrp.c')
-rw-r--r-- | svdrp.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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; } } |