From 57f8c0e3c0fc82f8b2452dc79a1605fb74a4416a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Fri, 16 Sep 2022 09:27:50 +0800 Subject: Shorten var names --- base64.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'base64.h') diff --git a/base64.h b/base64.h index 3c735bc..3b9c3bd 100644 --- a/base64.h +++ b/base64.h @@ -1,13 +1,13 @@ #include -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); } -- cgit v1.2.3