mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
refactor: replace '\0' with NUL
This commit is contained in:

committed by
Lewis Russell

parent
2f5b8a0092
commit
a18982cb83
@@ -4,6 +4,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "auto/config.h" // IWYU pragma: keep
|
||||
#include "nvim/ascii_defs.h"
|
||||
#include "nvim/base64.h"
|
||||
#include "nvim/memory.h"
|
||||
|
||||
@@ -125,7 +126,7 @@ char *base64_encode(const char *src, size_t src_len)
|
||||
dest[out_i] = '=';
|
||||
}
|
||||
|
||||
dest[out_len] = '\0';
|
||||
dest[out_len] = NUL;
|
||||
|
||||
return dest;
|
||||
}
|
||||
|
Reference in New Issue
Block a user