Skip to content

Commit 556b889

Browse files
committed
Populated reply message
1 parent bfd1361 commit 556b889

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/rpc/rpc.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ bool RPC::call(const char *request, char *reply) {
146146
/* Look through the methods for the one whose name matches */
147147
while (true) {
148148
for (; cur_method->name != NULL; cur_method++) {
149+
r.putData<const char*>(cur_method->name);
149150
if (strcmp(cur_method->name, args.method_name) == 0) {
150151
(cur_method->method_caller)(p, &args, &r);
151152
return true;

0 commit comments

Comments
 (0)