Make sure that there is one space between while and condition

This commit is contained in:
Gregory Nutt
2014-04-12 13:09:48 -06:00
parent 303cc1902b
commit 056aed1274
35 changed files with 59 additions and 54 deletions
+2 -2
View File
@@ -70,7 +70,7 @@
static int inode_namelen(FAR const char *name)
{
const char *tmp = name;
while(*tmp && *tmp != '/') tmp++;
while (*tmp && *tmp != '/') tmp++;
return tmp - name;
}
@@ -80,7 +80,7 @@ static int inode_namelen(FAR const char *name)
static void inode_namecpy(char *dest, const char *src)
{
while(*src && *src != '/') *dest++ = *src++;
while (*src && *src != '/') *dest++ = *src++;
*dest='\0';
}