summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";