Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-rpc by
Diff: rpc.cpp
- Revision:
- 10:d3e03663a6f4
- Parent:
- 9:d8113058854e
diff -r d8113058854e -r d3e03663a6f4 rpc.cpp
--- a/rpc.cpp Mon Jun 15 16:27:17 2015 +0000
+++ b/rpc.cpp Thu Jun 18 07:30:13 2015 +0100
@@ -146,9 +146,9 @@
/* 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;
}
}
