2
0
Эх сурвалжийг харах

- 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 19 жил өмнө
parent
commit
6be3b3f794
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  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");
 }