mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-02 11:59:45 -05:00
ITS#10410 lutil_strncopy: fix prev commit
This commit is contained in:
parent
a16f196903
commit
a946853b12
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue