diff options
author | niry <niry@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-25 05:43:16 +0000 |
---|---|---|
committer | niry <niry@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-25 05:43:16 +0000 |
commit | 52b2a308258f3cc972521f91028694473d2a34f8 (patch) | |
tree | 00d3ed3abd0e79687f3665a04b2438d819b75dfa /MdeModulePkg/Universal | |
parent | 5fe2f07f0fccc455e7606e8914dcc4baa2030462 (diff) | |
download | edk2-platforms-52b2a308258f3cc972521f91028694473d2a34f8.tar.xz |
Fixing coding style issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7945 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r-- | MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Input.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Input.c index 14887a6ba2..882a6b70cf 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Input.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Input.c @@ -496,7 +496,7 @@ TcpDeliverData ( TCP_SET_FLG (Tcb->CtrlFlag, TCP_CTRL_ACK_NOW);
}
- if (Nbuf->TotalSize) {
+ if (Nbuf->TotalSize != 0) {
Urgent = 0;
if (TCP_FLG_ON (Tcb->CtrlFlag, TCP_CTRL_RCVD_URG) &&
@@ -1353,7 +1353,7 @@ StepSix: if ((Tcb->State != TCP_CLOSED) &&
(TcpToSendData (Tcb, 0) == 0) &&
- (TCP_FLG_ON (Tcb->CtrlFlag, TCP_CTRL_ACK_NOW) || Nbuf->TotalSize)) {
+ (TCP_FLG_ON (Tcb->CtrlFlag, TCP_CTRL_ACK_NOW) || (Nbuf->TotalSize != 0))) {
TcpToSendAck (Tcb);
}
|