From 0a106be88b2ffe1042fccef99c87dd0c548289c1 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Thu, 24 Nov 2005 07:16:05 +0000 Subject: [PATCH] no more hang... SVN revision: 18630 --- src/bin/e_ipc_handlers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_ipc_handlers.h b/src/bin/e_ipc_handlers.h index 107b5e9..a9755ee 100644 --- a/src/bin/e_ipc_handlers.h +++ b/src/bin/e_ipc_handlers.h @@ -727,10 +727,10 @@ free(data); #define SEND_STRING(__str, __op, HDL) \ -case HDL: { void *data; int bytes; \ +case HDL: { void *data; int bytes = 0; \ data = e_ipc_codec_str_enc(__str, &bytes); \ + ecore_ipc_client_send(e->client, E_IPC_DOMAIN_REPLY, __op, 0, 0, 0, data, bytes); \ if (data) { \ - ecore_ipc_client_send(e->client, E_IPC_DOMAIN_REPLY, __op, 0, 0, 0, data, bytes); \ free(data); \ } \ } \ -- 2.7.4