summaryrefslogtreecommitdiffhomepage
path: root/src/msq
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-12-05 11:30:39 +0000
committermidipix <writeonce@midipix.org>2020-12-05 11:45:47 +0000
commitebbce46c00867c2a8d5f28ea44b52b432ab5abde (patch)
treeebd1b8e8293e5ba609d8678068bc417ea8b63023 /src/msq
parent485b7b6e4111769a134af181e6bc169c8e394135 (diff)
downloadntapi-ebbce46c00867c2a8d5f28ea44b52b432ab5abde.tar.bz2
ntapi-ebbce46c00867c2a8d5f28ea44b52b432ab5abde.tar.xz
__ntapi_msq_recv(): adjust code formatting.
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)