From: John Hodge Date: Sun, 8 Sep 2013 11:34:24 +0000 (+0800) Subject: Usermode/AxWin3 - (minor) More descripitive error message on IPCPipe send error X-Git-Tag: rel0.15~252 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=a962d8f27c2e68de6ff2d2f3b14b06937ed41c2a;p=tpg%2Facess2.git Usermode/AxWin3 - (minor) More descripitive error message on IPCPipe send error --- diff --git a/Usermode/Applications/axwin3_src/WM/ipc_acess.c b/Usermode/Applications/axwin3_src/WM/ipc_acess.c index 26f60a24..534d53d4 100644 --- a/Usermode/Applications/axwin3_src/WM/ipc_acess.c +++ b/Usermode/Applications/axwin3_src/WM/ipc_acess.c @@ -198,8 +198,10 @@ int IPC_Type_IPCPipe_Compare(const void *Ident1, const void *Ident2) } void IPC_Type_IPCPipe_Send(const void *Ident, size_t Length, const void *Data) { - size_t rv = _SysWrite( *(const int*)Ident, Data, Length ); + int fd = *(const int*)Ident; + size_t rv = _SysWrite( fd, Data, Length ); if(rv != Length) { - _SysDebug("Sent message oversize %x", Length); + _SysDebug("Message send for IPCPipe FD %i %i req, %i sent", + fd, Length, rv); } }