summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-04-04 11:09:14 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2017-04-04 11:09:14 +0200
commit6d52c80273fd6283919c32188908e6e9993c1b4b (patch)
tree1bbb05368f38e60da46cce4309ac34484ac3f234 /svdrp.c
parent63a32ce4833fe7200cea4b85ee31ddc91d23db6e (diff)
downloadvdr-6d52c80273fd6283919c32188908e6e9993c1b4b.tar.gz
vdr-6d52c80273fd6283919c32188908e6e9993c1b4b.tar.bz2
Changed some leftover 'number' to 'id' in SVDRP replies
Diffstat (limited to 'svdrp.c')
-rw-r--r--svdrp.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/svdrp.c b/svdrp.c
index a790e217..3d6d0f84 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 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)