summaryrefslogtreecommitdiff
path: root/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'base64.h')
-rw-r--r--base64.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/base64.h b/base64.h
index 3c735bc..3b9c3bd 100644
--- a/base64.h
+++ b/base64.h
@@ -1,13 +1,13 @@
#include <gnutls/gnutls.h>
-static inline void base64_decode(const char *host, char **decoded_host)
+static inline void base64_decode(const char *host, char **dec_host)
{
gnutls_datum_t result;
gnutls_base64_decode2(&(gnutls_datum_t){
(unsigned char *)host,
strlen(host)
}, &result);
- *decoded_host = malloc(result.size + 1);
- strlcpy(*decoded_host, (const char *)result.data, result.size + 1);
+ *dec_host = malloc(result.size + 1);
+ strlcpy(*dec_host, (const char *)result.data, result.size + 1);
gnutls_free(result.data);
}