summaryrefslogtreecommitdiffhomepage
path: root/src/msq
diff options
context:
space:
mode:
Diffstat (limited to 'src/msq')
-rw-r--r--src/msq/ntapi_msq_send.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/msq/ntapi_msq_send.c b/src/msq/ntapi_msq_send.c
index 0f7b631..fb9d44a 100644
--- a/src/msq/ntapi_msq_send.c
+++ b/src/msq/ntapi_msq_send.c
@@ -63,11 +63,12 @@ int32_t __stdcall __ntapi_msq_send(
} else if ((status = __ntapi->ipc_init_section_by_port(
msq->hport,&hsection,
- &secaddr,&secsize)))
+ &secaddr,&secsize))) {
return status;
- else
+ } else {
mapaddr = secaddr;
+ }
if (len > secsize)
return __msq_send_return(