Quellcode durchsuchen

- system_methodHelp sends now an error reply if the command was not
found (previously it wouldn't send any reply at all)

Andrei Pelinescu-Onciul vor 19 Jahren
Ursprung
Commit
6be3b3f794
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      core_cmd.c

+ 1 - 0
core_cmd.c

@@ -118,6 +118,7 @@ static void system_methodHelp(rpc_t* rpc, void* c)
 				return;
 			}
 	}
+	rpc->fault(c, 400, "command not found");
 }