aboutsummaryrefslogtreecommitdiff
path: root/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'buffer.h')
-rw-r--r--buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/buffer.h b/buffer.h
index 0f22cda..58273e2 100644
--- a/buffer.h
+++ b/buffer.h
@@ -280,7 +280,7 @@ bool buf_printf (struct buffer *buf, const char *format, ...)
/*
* Like snprintf but guarantees null termination for size > 0
*/
-int openvpn_snprintf(char *str, size_t size, const char *format, ...)
+bool openvpn_snprintf(char *str, size_t size, const char *format, ...)
#ifdef __GNUC__
__attribute__ ((format (printf, 3, 4)))
#endif