Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1171)

Unified Diff: src/trusted/plugin/srt_socket.cc

Issue 5622003: Restructure the structs/unions involved in SRPC argument passing. This will... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/trusted/plugin/socket_address.cc ('k') | src/trusted/service_runtime/sel_ldr.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/plugin/srt_socket.cc
===================================================================
--- src/trusted/plugin/srt_socket.cc (revision 3898)
+++ src/trusted/plugin/srt_socket.cc (working copy)
@@ -69,8 +69,8 @@
}
params.ins()[0]->u.hval = desc;
- params.ins()[1]->u.sval.str = strdup("place holder");
- if (NULL == params.ins()[1]->u.sval.str) {
+ params.ins()[1]->arrays.str = strdup("place holder");
+ if (NULL == params.ins()[1]->arrays.str) {
return false;
}
@@ -164,8 +164,8 @@
return false;
}
params.ins()[0]->u.ival = severity;
- params.ins()[1]->u.sval.str = strdup(msg.c_str());
- if (NULL == params.ins()[1]->u.sval.str) {
+ params.ins()[1]->arrays.str = strdup(msg.c_str());
+ if (NULL == params.ins()[1]->arrays.str) {
return false;
}
bool rpc_result = (connected_socket()->Invoke(kLogIdent,
« no previous file with comments | « src/trusted/plugin/socket_address.cc ('k') | src/trusted/service_runtime/sel_ldr.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698