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/netutils | |
parent | 5d99549aca261d40abf3e0d7180c2bddca3522b3 (diff) | |
download | nuttx-74a4eb6d1612d63958e14a240cc526c9be8041e0.tar.gz nuttx-74a4eb6d1612d63958e14a240cc526c9be8041e0.tar.bz2 nuttx-74a4eb6d1612d63958e14a240cc526c9be8041e0.zip |
Make sure that there is one space after for
Diffstat (limited to 'apps/netutils')
-rw-r--r-- | apps/netutils/thttpd/thttpd.c | 2 | ||||
-rw-r--r-- | apps/netutils/webclient/webclient.c | 2 | ||||
-rw-r--r-- | apps/netutils/webserver/httpd_fs.c | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/apps/netutils/thttpd/thttpd.c b/apps/netutils/thttpd/thttpd.c index a04a932bf..57fe43514 100644 --- a/apps/netutils/thttpd/thttpd.c +++ b/apps/netutils/thttpd/thttpd.c @@ -756,7 +756,7 @@ int thttpd_main(int argc, char **argv) nvdbg("Entering the main loop\n"); (void)gettimeofday(&tv, NULL); - for(;;) + for (;;) { /* Do the fd watch */ diff --git a/apps/netutils/webclient/webclient.c b/apps/netutils/webclient/webclient.c index 741f7a176..ea1bd0714 100644 --- a/apps/netutils/webclient/webclient.c +++ b/apps/netutils/webclient/webclient.c @@ -548,7 +548,7 @@ static int wget_base(FAR const char *url, FAR char *buffer, int buflen, ws.state = WEBCLIENT_STATE_STATUSLINE; redirected = false; - for(;;) + for (;;) { ws.datend = recv(sockfd, ws.buffer, ws.buflen, 0); if (ws.datend < 0) diff --git a/apps/netutils/webserver/httpd_fs.c b/apps/netutils/webserver/httpd_fs.c index b8eae3063..8d1cddbab 100644 --- a/apps/netutils/webserver/httpd_fs.c +++ b/apps/netutils/webserver/httpd_fs.c @@ -96,9 +96,9 @@ int httpd_fs_open(const char *name, struct httpd_fs_file *file) #endif struct httpd_fsdata_file_noconst *f; - for(f = (struct httpd_fsdata_file_noconst *)g_httpdfs_root; - f != NULL; - f = (struct httpd_fsdata_file_noconst *)f->next) + for (f = (struct httpd_fsdata_file_noconst *)g_httpdfs_root; + f != NULL; + f = (struct httpd_fsdata_file_noconst *)f->next) { if (httpd_fs_strcmp(name, f->name) == 0) { @@ -123,7 +123,7 @@ void httpd_fs_init(void) count = (uint16_t*)malloc(g_httpd_numfiles * sizeof(uint16_t)); - for(i = 0; i < g_httpd_numfiles; i++) + for (i = 0; i < g_httpd_numfiles; i++) { count[i] = 0; } @@ -137,7 +137,7 @@ uint16_t httpd_fs_count(char *name) uint16_t i; i = 0; - for(f = (struct httpd_fsdata_file_noconst *)g_httpdfs_root; + for (f = (struct httpd_fsdata_file_noconst *)g_httpdfs_root; f != NULL; f = (struct httpd_fsdata_file_noconst *)f->next) { |