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 | |
parent | 54af5518e47d61b9c674ca9a72defb87aac07baf (diff) | |
download | vdr-c65133979fa79f0695a126c0324c4917e51242d8.tar.gz vdr-c65133979fa79f0695a126c0324c4917e51242d8.tar.bz2 |
Changed all "illegal" to "invalid" in error messages
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | channels.c | 4 | ||||
-rw-r--r-- | ci.c | 6 | ||||
-rw-r--r-- | device.c | 4 | ||||
-rw-r--r-- | diseqc.c | 6 | ||||
-rw-r--r-- | dvbosd.c | 4 | ||||
-rw-r--r-- | epg.c | 4 | ||||
-rw-r--r-- | osd.c | 4 | ||||
-rw-r--r-- | ringbuffer.c | 6 | ||||
-rw-r--r-- | svdrp.c | 12 |
10 files changed, 27 insertions, 25 deletions
@@ -4038,3 +4038,5 @@ Video Disk Recorder Revision History + Grabbing to files is limited to the directory given in the the command line option '-g'. By default grabbing to files is not allowed any more. - Updated the Greek OSD texts (thanks to Dimitrios Dimitrakos). +- Changed all "illegal" to "invalid" in error messages (there's nothing "illegal" + in VDR ;-). @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: channels.c 1.46 2005/09/11 11:17:19 kls Exp $ + * $Id: channels.c 1.47 2005/12/30 15:41:24 kls Exp $ */ #include "channels.h" @@ -586,7 +586,7 @@ static const char *ParseParameter(const char *s, int &Value, const tChannelParam return p; } } - esyslog("ERROR: illegal value for parameter '%c'", *(s - 1)); + esyslog("ERROR: invalid value for parameter '%c'", *(s - 1)); return NULL; } @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: ci.c 1.40 2005/11/26 13:36:51 kls Exp $ + * $Id: ci.c 1.41 2005/12/30 15:41:38 kls Exp $ */ #include "ci.h" @@ -185,7 +185,7 @@ cTPDU::cTPDU(uint8_t Slot, uint8_t Tcid, uint8_t Tag, int Length, const uint8_t size = 6; } else - esyslog("ERROR: illegal data length for TPDU tag 0x%02X: %d", Tag, Length); + esyslog("ERROR: invalid data length for TPDU tag 0x%02X: %d", Tag, Length); break; case T_DATA_LAST: case T_DATA_MORE: @@ -198,7 +198,7 @@ cTPDU::cTPDU(uint8_t Slot, uint8_t Tcid, uint8_t Tag, int Length, const uint8_t size = Length + (p - data); } else - esyslog("ERROR: illegal data length for TPDU tag 0x%02X: %d", Tag, Length); + esyslog("ERROR: invalid data length for TPDU tag 0x%02X: %d", Tag, Length); break; default: esyslog("ERROR: unknown TPDU tag: 0x%02X", Tag); @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 1.114 2005/12/30 13:48:29 kls Exp $ + * $Id: device.c 1.115 2005/12/30 15:41:42 kls Exp $ */ #include "device.h" @@ -222,7 +222,7 @@ int cDevice::NextCardIndex(int n) esyslog("ERROR: nextCardIndex too big (%d)", nextCardIndex); } else if (n < 0) - esyslog("ERROR: illegal value in IncCardIndex(%d)", n); + esyslog("ERROR: invalid value in IncCardIndex(%d)", n); return nextCardIndex; } @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: diseqc.c 1.4 2005/01/09 13:05:11 kls Exp $ + * $Id: diseqc.c 1.5 2005/12/30 15:41:48 kls Exp $ */ #include "diseqc.h" @@ -65,7 +65,7 @@ char *cDiseqc::Wait(char *s) cCondWait::SleepMs(n); return p; } - esyslog("ERROR: illegal value for wait time in '%s'", s - 1); + esyslog("ERROR: invalid value for wait time in '%s'", s - 1); return NULL; } @@ -85,7 +85,7 @@ char *cDiseqc::Codes(char *s) t = skipspace(p); } else { - esyslog("ERROR: illegal code at '%s'", t); + esyslog("ERROR: invalid code at '%s'", t); return NULL; } } @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbosd.c 1.28 2005/12/18 12:56:55 kls Exp $ + * $Id: dvbosd.c 1.29 2005/12/30 15:41:54 kls Exp $ */ #include "dvbosd.h" @@ -39,7 +39,7 @@ cDvbOsd::cDvbOsd(int Left, int Top, int OsdDev) osdDev = OsdDev; shown = false; if (osdDev < 0) - esyslog("ERROR: illegal OSD device handle (%d)!", osdDev); + esyslog("ERROR: invalid OSD device handle (%d)!", osdDev); else { osdMem = MAXOSDMEMORY; #ifdef OSD_CAP_MEMSIZE @@ -7,7 +7,7 @@ * Original version (as used in VDR before 1.3.0) written by * Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>. * - * $Id: epg.c 1.46 2005/12/27 10:26:38 kls Exp $ + * $Id: epg.c 1.47 2005/12/30 15:41:59 kls Exp $ */ #include "epg.h" @@ -834,7 +834,7 @@ bool cSchedule::Read(FILE *f, cSchedules *Schedules) } } else { - esyslog("ERROR: illegal channel ID: %s", s); + esyslog("ERROR: invalid channel ID: %s", s); return false; } } @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: osd.c 1.64 2005/11/04 14:19:31 kls Exp $ + * $Id: osd.c 1.65 2005/12/30 15:42:04 kls Exp $ */ #include "osd.h" @@ -145,7 +145,7 @@ void cBitmap::SetSize(int Width, int Height) esyslog("ERROR: can't allocate bitmap!"); } else - esyslog("ERROR: illegal bitmap parameters (%d, %d)!", width, height); + esyslog("ERROR: invalid bitmap parameters (%d, %d)!", width, height); } bool cBitmap::Contains(int x, int y) const diff --git a/ringbuffer.c b/ringbuffer.c index 167511a8..e00a524f 100644 --- a/ringbuffer.c +++ b/ringbuffer.c @@ -7,7 +7,7 @@ * Parts of this file were inspired by the 'ringbuffy.c' from the * LinuxDVB driver (see linuxtv.org). * - * $Id: ringbuffer.c 1.22 2005/12/10 10:55:26 kls Exp $ + * $Id: ringbuffer.c 1.23 2005/12/30 15:42:08 kls Exp $ */ #include "ringbuffer.h" @@ -165,10 +165,10 @@ cRingBufferLinear::cRingBufferLinear(int Size, int Margin, bool Statistics, cons Clear(); } else - esyslog("ERROR: illegal margin for ring buffer (%d > %d)", Margin, Size / 2); + esyslog("ERROR: invalid margin for ring buffer (%d > %d)", Margin, Size / 2); } else - esyslog("ERROR: illegal size for ring buffer (%d)", Size); + esyslog("ERROR: invalid size for ring buffer (%d)", Size); #ifdef DEBUGRINGBUFFERS lastHead = head; lastTail = tail; @@ -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; } } |