fix misplaced *'s in string functions (harmless)

This commit is contained in:
Rich Felker
2011-04-07 16:19:30 -04:00
parent 4095f8338d
commit cb8dff2149
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ size_t strlcpy(char *d, const char *s, size_t n)
if (n && *s) {
wd=(void *)d; ws=(const void *)s;
for (; n>=sizeof(size_t) && !HASZERO(*ws);
n-=sizeof(size_t), ws++, *wd++) *wd = *ws;
n-=sizeof(size_t), ws++, wd++) *wd = *ws;
d=(void *)wd; s=(const void *)ws;
}
}