Commit df5a4380c3931520d5fae2b18f0fc2e67a883aae 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>
... | ... |
@@ -217,6 +217,9 @@ buf_printf (struct buffer *buf, const char *format, ...) |
217 | 217 |
/* |
218 | 218 |
* This is necessary due to certain buggy implementations of snprintf, |
219 | 219 |
* that don't guarantee null termination for size > 0. |
220 |
+ * |
|
221 |
+ * This function is duplicated into service-win32/openvpnserv.c |
|
222 |
+ * Any modifications here should be done to the other place as well. |
|
220 | 223 |
*/ |
221 | 224 |
|
222 | 225 |
int openvpn_snprintf(char *str, size_t size, const char *format, ...) |