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

Unified Diff: tests/srpc/srpc_nrd_client.c

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 | « tests/srpc/srpc_bidir.c ('k') | tests/srpc/srpc_nrd_server.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/srpc/srpc_nrd_client.c
===================================================================
--- tests/srpc/srpc_nrd_client.c (revision 3898)
+++ tests/srpc/srpc_nrd_client.c (working copy)
@@ -127,7 +127,7 @@
/* Return the imc descriptor, the string we wrote, and the error count. */
out_args[0]->u.hval = desc;
/* NOTE: string return values from SRPC need to be heap allocated. */
- out_args[1]->u.sval.str = strdup(test_string);
+ out_args[1]->arrays.str = strdup(test_string);
out_args[2]->u.ival = errors_seen;
rpc->result = NACL_SRPC_RESULT_OK;
done->Run(done);
« no previous file with comments | « tests/srpc/srpc_bidir.c ('k') | tests/srpc/srpc_nrd_server.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698