diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-04-12 13:09:48 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-04-12 13:09:48 -0600 |
commit | 5d99549aca261d40abf3e0d7180c2bddca3522b3 (patch) | |
tree | 8602dccf7672ec2af9de95c9b005fea2e9a37243 /apps/netutils/dnsclient | |
parent | 5fbbc21f13770cc35c3e61e3109c125d03f172eb (diff) | |
download | nuttx-5d99549aca261d40abf3e0d7180c2bddca3522b3.tar.gz nuttx-5d99549aca261d40abf3e0d7180c2bddca3522b3.tar.bz2 nuttx-5d99549aca261d40abf3e0d7180c2bddca3522b3.zip |
Make sure that there is one space between while and condition
Diffstat (limited to 'apps/netutils/dnsclient')
-rw-r--r-- | apps/netutils/dnsclient/dns_socket.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/netutils/dnsclient/dns_socket.c b/apps/netutils/dnsclient/dns_socket.c index c61032685..002d48674 100644 --- a/apps/netutils/dnsclient/dns_socket.c +++ b/apps/netutils/dnsclient/dns_socket.c @@ -188,13 +188,13 @@ static FAR unsigned char *dns_parse_name(FAR unsigned char *query) { n = *query++; - while(n > 0) + while (n > 0) { ++query; --n; } } - while(*query != 0); + while (*query != 0); return query + 1; } @@ -247,7 +247,7 @@ static int dns_send_query(int sockfd, FAR const char *name, *nptr = n; } - while(*nameptr != 0); + while (*nameptr != 0); memcpy(query, endquery, 5); |