summaryrefslogtreecommitdiff
path: root/src/bin/evas/evas_cserve2_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/evas/evas_cserve2_main.c')
-rw-r--r--src/bin/evas/evas_cserve2_main.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/bin/evas/evas_cserve2_main.c b/src/bin/evas/evas_cserve2_main.c
index 1509a9cd07..fa70fece3b 100644
--- a/src/bin/evas/evas_cserve2_main.c
+++ b/src/bin/evas/evas_cserve2_main.c
@@ -24,15 +24,15 @@ cserve2_client_error_send(Client *client, unsigned int rid, int error_code)
24 int size; 24 int size;
25 Msg_Error msg; 25 Msg_Error msg;
26 26
27 // clear the struct with possible paddings, since it is not aligned. 27 // clear the struct with possible paddings, since it is not aligned.
28 memset(&msg, 0, sizeof(msg)); 28 memset(&msg, 0, sizeof(msg));
29 msg.base.rid = rid; 29 msg.base.rid = rid;
30 msg.base.type = CSERVE2_ERROR; 30 msg.base.type = CSERVE2_ERROR;
31 msg.error = error_code; 31 msg.error = error_code;
32 32
33 size = sizeof(msg); 33 size = sizeof(msg);
34 cserve2_client_send(client, &size, sizeof(size)); 34 cserve2_client_send(client, &size, sizeof(size));
35 cserve2_client_send(client, &msg, sizeof(msg)); 35 cserve2_client_send(client, &msg, sizeof(msg));
36} 36}
37 37
38void 38void