mirror of
https://github.com/OpenVPN/openvpn.git
synced 2024-09-20 03:52:28 +02:00
Add a simple comment regarding openvpn_snprintf() is duplicated
Commitdf5a4380c3
copies this function from buffer.c to service-win32/openvpnserv.c. Any changes on either places should be done in both implementations. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit14708eb69e
)
This commit is contained in:
parent
47dd9a4d7b
commit
9322eca5d9
3
buffer.c
3
buffer.c
@ -217,6 +217,9 @@ buf_printf (struct buffer *buf, const char *format, ...)
|
||||
/*
|
||||
* This is necessary due to certain buggy implementations of snprintf,
|
||||
* that don't guarantee null termination for size > 0.
|
||||
*
|
||||
* This function is duplicated into service-win32/openvpnserv.c
|
||||
* Any modifications here should be done to the other place as well.
|
||||
*/
|
||||
|
||||
int openvpn_snprintf(char *str, size_t size, const char *format, ...)
|
||||
|
Loading…
Reference in New Issue
Block a user