diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-04-12 13:28:22 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-04-12 13:28:22 -0600 |
commit | 74a4eb6d1612d63958e14a240cc526c9be8041e0 (patch) | |
tree | 90ff9923b46383e6ea4e5ec0f162608fda1820fa /apps/nshlib | |
parent | 5d99549aca261d40abf3e0d7180c2bddca3522b3 (diff) | |
download | px4-nuttx-74a4eb6d1612d63958e14a240cc526c9be8041e0.tar.gz px4-nuttx-74a4eb6d1612d63958e14a240cc526c9be8041e0.tar.bz2 px4-nuttx-74a4eb6d1612d63958e14a240cc526c9be8041e0.zip |
Make sure that there is one space after for
Diffstat (limited to 'apps/nshlib')
-rw-r--r-- | apps/nshlib/nsh_codeccmd.c | 4 | ||||
-rw-r--r-- | apps/nshlib/nsh_netcmds.c | 2 | ||||
-rw-r--r-- | apps/nshlib/nsh_telnetd.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/nshlib/nsh_codeccmd.c b/apps/nshlib/nsh_codeccmd.c index 3576f8c84..6c056b2c5 100644 --- a/apps/nshlib/nsh_codeccmd.c +++ b/apps/nshlib/nsh_codeccmd.c @@ -391,7 +391,7 @@ static int cmd_codecs_proc(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv, MD5Final(mac, &ctx); pSrc = (char *)&mac; pDest = buffer; - for(i=0;i<16;i++,pSrc++) + for (i = 0; i < 16; i++, pSrc++) { *pDest++ = hex_chars[(*pSrc) >> 4]; *pDest++ = hex_chars[(*pSrc) & 0x0f]; @@ -427,7 +427,7 @@ static int cmd_codecs_proc(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv, MD5Final(mac, &ctx); pSrc = (char *)&mac; pDest = buffer; - for(i=0;i<16;i++,pSrc++) + for (i = 0; i < 16; i++, pSrc++) { *pDest++ = hex_chars[(*pSrc) >> 4]; *pDest++ = hex_chars[(*pSrc) & 0x0f]; diff --git a/apps/nshlib/nsh_netcmds.c b/apps/nshlib/nsh_netcmds.c index ef43fe0f6..7d58ded5d 100644 --- a/apps/nshlib/nsh_netcmds.c +++ b/apps/nshlib/nsh_netcmds.c @@ -619,7 +619,7 @@ int cmd_ifconfig(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) if (argc > 2) { - for(i = 0; i < argc; i++) + for (i = 0; i < argc; i++) { if (i == 1) { diff --git a/apps/nshlib/nsh_telnetd.c b/apps/nshlib/nsh_telnetd.c index 9e712cc7b..c77e256a4 100644 --- a/apps/nshlib/nsh_telnetd.c +++ b/apps/nshlib/nsh_telnetd.c @@ -123,7 +123,7 @@ int nsh_telnetlogin(struct console_stdio_s *pstate) /* Loop for the configured number of retries */ - for(i = 0; i < CONFIG_NSH_TELNET_FAILCOUNT; i++) + for (i = 0; i < CONFIG_NSH_TELNET_FAILCOUNT; i++) { /* Ask for the login username */ |