mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
Declare C string constants using array syntax, avoid pointer syntax when possible. They are different, the array syntax generates smaller, faster code. Also, const char[] should usually be static, again to avoid poor compilation and runtime performance where compilers tend to initialize the const declaration for every call instead of using .rodata for the string. Signed-off-by: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
9.2 KiB
9.2 KiB