Cosmetic change to force compliance with coding standard

This commit is contained in:
Gregory Nutt
2014-12-12 07:14:16 -06:00
parent b818691a3a
commit 1c569b85f8
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -56,7 +56,11 @@ char *strncpy(FAR char *dest, FAR const char *src, size_t n)
char *end = dest + n; /* End of dest buffer + 1 byte */
while ((dest != end) && (*dest++ = *src++) != '\0');
while (dest != end) *dest++ = '\0';
while (dest != end)
{
*dest++ = '\0';
}
return ret;
}
#endif