ITS#10410 lutil_strncopy: fix prev commit

This commit is contained in:
Howard Chu 2025-12-01 15:56:36 +00:00
parent a16f196903
commit a946853b12

View file

@ -400,7 +400,7 @@ lutil_strncopy(
return a;
while ((*a++ = *b++) && --n > 0) ;
return a-1;
return a;
}
/* memcopy is like memcpy except it returns a pointer to the byte past