From 5273ed5096773c7bc348cb633ef2db1a3270699b Mon Sep 17 00:00:00 2001 From: Keine_Ahnung Date: Wed, 26 Dec 2012 19:56:01 +0100 Subject: missed {} --- ripit.c | 6 ++++-- 1 file 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"; -- cgit v1.2.3