diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-04-04 11:09:14 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-04-04 11:09:14 +0200 |
commit | 6d52c80273fd6283919c32188908e6e9993c1b4b (patch) | |
tree | 1bbb05368f38e60da46cce4309ac34484ac3f234 | |
parent | 63a32ce4833fe7200cea4b85ee31ddc91d23db6e (diff) | |
download | vdr-6d52c80273fd6283919c32188908e6e9993c1b4b.tar.gz vdr-6d52c80273fd6283919c32188908e6e9993c1b4b.tar.bz2 |
Changed some leftover 'number' to 'id' in SVDRP replies
-rw-r--r-- | svdrp.c | 22 |
1 files changed, 11 insertions, 11 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 4.15 2017/04/04 11:01:10 kls Exp $ + * $Id: svdrp.c 4.16 2017/04/04 11:09:14 kls Exp $ */ #include "svdrp.h" @@ -1301,10 +1301,10 @@ void cSVDRPServer::CmdDELR(const char *Option) Reply(550, "Recording \"%s\" not found", Option); } else - Reply(501, "Error in recording number \"%s\"", Option); + Reply(501, "Error in recording id \"%s\"", Option); } else - Reply(501, "Missing recording number"); + Reply(501, "Missing recording id"); } void cSVDRPServer::CmdDELT(const char *Option) @@ -1351,10 +1351,10 @@ void cSVDRPServer::CmdEDIT(const char *Option) Reply(550, "Recording \"%s\" not found", Option); } else - Reply(501, "Error in recording number \"%s\"", Option); + Reply(501, "Error in recording id \"%s\"", Option); } else - Reply(501, "Missing recording number"); + Reply(501, "Missing recording id"); } void cSVDRPServer::CmdGRAB(const char *Option) @@ -1698,7 +1698,7 @@ void cSVDRPServer::CmdLSTR(const char *Option) if (isnumber(p)) Number = strtol(p, NULL, 10); else { - Reply(501, "Error in recording number \"%s\"", Option); + Reply(501, "Error in recording id \"%s\"", Option); return; } } @@ -1872,7 +1872,7 @@ void cSVDRPServer::CmdMODT(const char *Option) Reply(501, "Timer \"%d\" not defined", Id); } else - Reply(501, "Error in timer number"); + Reply(501, "Error in timer id"); } else Reply(501, "Missing timer settings"); @@ -1968,11 +1968,11 @@ void cSVDRPServer::CmdMOVR(const char *Option) Reply(550, "Recording \"%s\" not found", num); } else - Reply(501, "Error in recording number \"%s\"", num); + Reply(501, "Error in recording id \"%s\"", num); free(opt); } else - Reply(501, "Missing recording number"); + Reply(501, "Missing recording id"); } void cSVDRPServer::CmdNEWC(const char *Option) @@ -2091,11 +2091,11 @@ void cSVDRPServer::CmdPLAY(const char *Option) } } else - Reply(501, "Error in recording number \"%s\"", num); + Reply(501, "Error in recording id \"%s\"", num); free(opt); } else - Reply(501, "Missing recording number"); + Reply(501, "Missing recording id"); } void cSVDRPServer::CmdPLUG(const char *Option) |