mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +08:00
Make sure that there is one space between while and condition
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user