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)