Merge pull request #1185 from sarahmarshy/patch-1

Populated reply message
pull/1187/head
Martin Kojtal 2015-06-16 08:26:42 +02:00
commit 3697e701cb
1 changed files with 1 additions and 0 deletions

View File

@ -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<const char*>(cur_method->name);
if (strcmp(cur_method->name, args.method_name) == 0) {
(cur_method->method_caller)(p, &args, &r);
return true;