summaryrefslogtreecommitdiffstats
path: root/src/ccapi/lib/ccapi_ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ccapi/lib/ccapi_ipc.c')
-rw-r--r--src/ccapi/lib/ccapi_ipc.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/ccapi/lib/ccapi_ipc.c b/src/ccapi/lib/ccapi_ipc.c
index 8d8b2d209b..54b5faa867 100644
--- a/src/ccapi/lib/ccapi_ipc.c
+++ b/src/ccapi/lib/ccapi_ipc.c
@@ -53,23 +53,23 @@ static cc_int32 _cci_ipc_send (enum cci_msg_id_t in_request_name,
k5_ipc_stream request = NULL;
k5_ipc_stream reply = NULL;
cc_int32 reply_error = 0;
-
+
if (!in_identifier) { err = cci_check_error (ccErrBadParam); }
/* in_request_data may be NULL */
/* out_reply_data may be NULL */
-
+
if (!err) {
err = cci_message_new_request_header (&request,
in_request_name,
in_identifier);
}
-
+
if (!err && in_request_data) {
- err = krb5int_ipc_stream_write (request,
- krb5int_ipc_stream_data (in_request_data),
+ err = krb5int_ipc_stream_write (request,
+ krb5int_ipc_stream_data (in_request_data),
krb5int_ipc_stream_size (in_request_data));
}
-
+
if (!err) {
err = cci_os_ipc (in_launch_server, request, &reply);
@@ -77,19 +77,19 @@ static cc_int32 _cci_ipc_send (enum cci_msg_id_t in_request_name,
err = cci_message_read_reply_header (reply, &reply_error);
}
}
-
- if (!err && reply_error) {
+
+ if (!err && reply_error) {
err = reply_error;
}
-
+
if (!err && out_reply_data) {
*out_reply_data = reply;
reply = NULL; /* take ownership */
}
-
+
krb5int_ipc_stream_release (request);
krb5int_ipc_stream_release (reply);
-
+
return cci_check_error (err);
}