summaryrefslogtreecommitdiffhomepage
path: root/src/msq
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-12-05 11:32:23 +0000
committermidipix <writeonce@midipix.org>2020-12-05 11:45:47 +0000
commit396c7f03bfa9b598ceede71aa673e0b353333cec (patch)
tree2fcdb33365729a9b46eb852ae9c8eb45b1d62f7f /src/msq
parentbdb1eae13eefe4cb7d9a990b0280c80fca2bf9dd (diff)
downloadntapi-396c7f03bfa9b598ceede71aa673e0b353333cec.tar.bz2
ntapi-396c7f03bfa9b598ceede71aa673e0b353333cec.tar.xz
__ntapi_msq_send(): adjust code formatting.
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(