summaryrefslogtreecommitdiff
path: root/lib/gnutls_datum.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_datum.c')
-rw-r--r--lib/gnutls_datum.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gnutls_datum.c b/lib/gnutls_datum.c
index 7dd3fb7fd6..e21126c9ad 100644
--- a/lib/gnutls_datum.c
+++ b/lib/gnutls_datum.c
@@ -69,7 +69,7 @@ _gnutls_write_datum8 (opaque * dest, gnutls_datum_t dat)
int
_gnutls_set_datum_m (gnutls_datum_t * dat, const void *data,
- size_t data_size, gnutls_alloc_function galloc_func)
+ size_t data_size, gnutls_alloc_function galloc_func)
{
if (data_size == 0 || data == NULL)
{
@@ -90,8 +90,8 @@ _gnutls_set_datum_m (gnutls_datum_t * dat, const void *data,
int
_gnutls_datum_append_m (gnutls_datum_t * dst, const void *data,
- size_t data_size,
- gnutls_realloc_function grealloc_func)
+ size_t data_size,
+ gnutls_realloc_function grealloc_func)
{
dst->data = grealloc_func (dst->data, data_size + dst->size);