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.
Diff: Handler/RpcHandler.cpp
- Revision:
- 17:c690fb2de477
- Parent:
- 16:cc3f5c53d0d5
- Child:
- 18:08b85ace10c3
diff -r cc3f5c53d0d5 -r c690fb2de477 Handler/RpcHandler.cpp
--- a/Handler/RpcHandler.cpp Sat Aug 17 16:17:55 2013 +0000
+++ b/Handler/RpcHandler.cpp Mon Jun 15 16:07:28 2015 +0000
@@ -53,10 +53,10 @@
}
INFO("RPC to %s", rpc_args.c_str());
retval = rpc.call(rpc_args.c_str(),outBuf);
- INFO("RPC Request returned %d with args : %s", retval==true ? 1 : 0, outBuf);
+ INFO("RPC Request returned %d with args : %s", retval==true ? 200 : 0, outBuf);
if (retval) {
// No error
- startResponse(retval, strlen(outBuf));
+ startResponse(200, strlen(outBuf));
processResponse(strlen(outBuf), outBuf);
endResponse();
err = 0;