From 556b889b5ff64126eb430aa8326e8bce0b451100 Mon Sep 17 00:00:00 2001 From: sarahmarshy Date: Mon, 15 Jun 2015 12:44:55 -0500 Subject: [PATCH] Populated reply message --- libraries/rpc/rpc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/rpc/rpc.cpp b/libraries/rpc/rpc.cpp index 60b5d764c7..5f9c71b778 100644 --- a/libraries/rpc/rpc.cpp +++ b/libraries/rpc/rpc.cpp @@ -146,6 +146,7 @@ bool RPC::call(const char *request, char *reply) { /* Look through the methods for the one whose name matches */ while (true) { for (; cur_method->name != NULL; cur_method++) { + r.putData(cur_method->name); if (strcmp(cur_method->name, args.method_name) == 0) { (cur_method->method_caller)(p, &args, &r); return true;