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