diff options
Diffstat (limited to 'idlc/c_gen/c_stub_body_gen_cb.h')
-rw-r--r-- | idlc/c_gen/c_stub_body_gen_cb.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/idlc/c_gen/c_stub_body_gen_cb.h b/idlc/c_gen/c_stub_body_gen_cb.h index a9bce78..db744e2 100644 --- a/idlc/c_gen/c_stub_body_gen_cb.h +++ b/idlc/c_gen/c_stub_body_gen_cb.h @@ -26,8 +26,10 @@ static int __$$_method_$$(rpc_port_h port, rpc_port_parcel_h parcel, void *data) int r; r = rpc_port_stub_get_port(__$$_stub, RPC_PORT_PORT_CALLBACK, context->instance, &callback_port); - if (r != 0) + if (r != 0) { _E("Failed to get callback port"); + return -1; + } $$ return 0; |