summaryrefslogtreecommitdiff
path: root/shopify.c
diff options
context:
space:
mode:
Diffstat (limited to 'shopify.c')
-rw-r--r--shopify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shopify.c b/shopify.c
index fe7f52b..a3495c3 100644
--- a/shopify.c
+++ b/shopify.c
@@ -329,8 +329,8 @@ static enum MHD_Result handle_request(void *cls, struct MHD_Connection *con,
(unsigned char *)host,
strlen(host)
}, &result);
- *dec_host = malloc(result.size + 1);
- strlcpy(*dec_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);
}