Explorar el Código

- 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 hace 19 años
padre
commit
6be3b3f794
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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");
 }