summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeine_Ahnung <no@mail.com>2012-12-26 19:56:01 +0100
committerKeine_Ahnung <no@mail.com>2012-12-26 19:56:01 +0100
commit5273ed5096773c7bc348cb633ef2db1a3270699b (patch)
treeb621f621356fd86bc815e2a74febeba89de6fa61
parent38a6c891d3cdc9e4a990ecbde66aceb7bc2bb065 (diff)
downloadvdr-plugin-ripit-5273ed5096773c7bc348cb633ef2db1a3270699b.tar.gz
vdr-plugin-ripit-5273ed5096773c7bc348cb633ef2db1a3270699b.tar.bz2
missed {}
-rw-r--r--ripit.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ripit.c b/ripit.c
index 72342ef..f9a7308 100644
--- a/ripit.c
+++ b/ripit.c
@@ -123,12 +123,14 @@ cString cPluginRipit::SVDRPCommand(const char *Command, const char *Option,
}
}
else if(!strcasecmp(Command, "STATUS")) {
- if(ripitosd->Rip_On())
+ if(ripitosd->Rip_On()) {
ReplyCode = 920;
return "A rip process is running";
- else
+ }
+ else {
ReplyCode = 910;
return "No rip process is running";
+ }
}
else {
ReplyCode = 502; return "Command not implemented";