diff options
-rw-r--r-- | src/msq/ntapi_msq_send.c | 5 |
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( |