diff options
author | Luca Ceresoli <luca.ceresoli@comelit.it> | 2011-05-14 05:50:02 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-05-19 21:36:15 +0200 |
commit | 0bdd8acc35c152a1d934a59306f63586b47453a8 (patch) | |
tree | 1f9b7434c55789994e736a2c796f6a815ceaa2fc | |
parent | 6d2231e8fa21f4bc4fcff3690146540f30984d61 (diff) | |
download | u-boot-imx-0bdd8acc35c152a1d934a59306f63586b47453a8.zip u-boot-imx-0bdd8acc35c152a1d934a59306f63586b47453a8.tar.gz u-boot-imx-0bdd8acc35c152a1d934a59306f63586b47453a8.tar.bz2 |
net/tftp.c: cosmetic: fix indentation
This removes the following checkpatch issue:
- WARNING: suspect code indent for conditional statements
Signed-off-by: Luca Ceresoli <luca.ceresoli@comelit.it>
Cc: Wolfgang Denk <wd@denx.de>
-rw-r--r-- | net/tftp.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -307,7 +307,7 @@ TftpHandler(uchar *pkt, unsigned dest, IPaddr_t sip, unsigned src, if (Multicast && (!Mcast_port || (dest != Mcast_port))) #endif - return; + return; } if (TftpState != STATE_RRQ && src != TftpServerPort) return; @@ -603,11 +603,12 @@ TftpStart(void) /* Check if we need to send across this subnet */ if (NetOurGatewayIP && NetOurSubnetMask) { - IPaddr_t OurNet = NetOurIP & NetOurSubnetMask; - IPaddr_t ServerNet = TftpServerIP & NetOurSubnetMask; + IPaddr_t OurNet = NetOurIP & NetOurSubnetMask; + IPaddr_t ServerNet = TftpServerIP & NetOurSubnetMask; - if (OurNet != ServerNet) - printf("; sending through gateway %pI4", &NetOurGatewayIP); + if (OurNet != ServerNet) + printf("; sending through gateway %pI4", + &NetOurGatewayIP); } putc('\n'); |