Changed where reply is populated

pull/1192/head
sarahmarshy 2015-06-17 16:55:01 -05:00
parent c33e334a22
commit e99d5bf764
1 changed files with 1 additions and 1 deletions

View File

@ -146,9 +146,9 @@ 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);
r.putData<const char*>(cur_method->name);
return true;
}
}