From 1707c78bfebed72de414a5df17bc95008359b380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Tue, 23 Apr 2013 00:48:49 +0000 Subject: [PATCH] [KDCOM] Formatting change only (requested by Timo). svn path=/trunk/; revision=58835 --- reactos/drivers/base/kddll/kdcom.c | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/reactos/drivers/base/kddll/kdcom.c b/reactos/drivers/base/kddll/kdcom.c index 1b401707a45..3463fedfb5f 100644 --- a/reactos/drivers/base/kddll/kdcom.c +++ b/reactos/drivers/base/kddll/kdcom.c @@ -223,9 +223,14 @@ NTAPI KdpPollByte(OUT PUCHAR OutByte) { /* Poll the byte */ - return (CpGetByte(&KdDebugComPort, OutByte, FALSE) == CP_GET_SUCCESS - ? KDP_PACKET_RECEIVED - : KDP_PACKET_TIMEOUT); + if (CpGetByte(&KdDebugComPort, OutByte, FALSE) == CP_GET_SUCCESS) + { + return KDP_PACKET_RECEIVED; + } + else + { + return KDP_PACKET_TIMEOUT; + } } KDP_STATUS @@ -233,9 +238,14 @@ NTAPI KdpReceiveByte(OUT PUCHAR OutByte) { /* Get the byte */ - return (CpGetByte(&KdDebugComPort, OutByte, TRUE) == CP_GET_SUCCESS - ? KDP_PACKET_RECEIVED - : KDP_PACKET_TIMEOUT); + if (CpGetByte(&KdDebugComPort, OutByte, TRUE) == CP_GET_SUCCESS) + { + return KDP_PACKET_RECEIVED; + } + else + { + return KDP_PACKET_TIMEOUT; + } } KDP_STATUS