mirror of
https://github.com/jarun/nnn.git
synced 2025-03-12 17:54:04 +00:00
Fix build break
This commit is contained in:
parent
a9436cfe7b
commit
cd1c458c96
1 changed files with 1 additions and 1 deletions
|
@ -936,7 +936,7 @@ static size_t xstrsncpy(char *restrict dst, const char *restrict src, size_t n)
|
|||
char *end = memccpy(dst, src, '\0', n);
|
||||
|
||||
if (!end) {
|
||||
dst[n - 1] = '\0';
|
||||
dst[n - 1] = '\0'; // NOLINT
|
||||
end = dst + n;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue