mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
libedit: add missing bracket.
We never hit this because we always build with widechar support. Reported by: cognet MFC after: 3 days
This commit is contained in:
parent
2934eb8a22
commit
cf7df9f141
1 changed files with 1 additions and 0 deletions
|
|
@ -223,6 +223,7 @@ ct_mbrtowc(wchar_t *wc, const char *s, size_t n)
|
|||
|
||||
size_t
|
||||
ct_mbrtowc(wchar_t *wc, const char *s, size_t n)
|
||||
{
|
||||
if (s == NULL)
|
||||
return 0;
|
||||
if (n == 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue