From 4b8abf88387a1bf732afd5c1a6abc5b8b486341c Mon Sep 17 00:00:00 2001 From: James Magahern Date: Sun, 20 Jan 2019 20:57:52 -0800 Subject: Spinner animation and tweaks to memory management --- src/auth.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/auth.h') diff --git a/src/auth.h b/src/auth.h index 462e77b..ad09236 100644 --- a/src/auth.h +++ b/src/auth.h @@ -7,8 +7,10 @@ #pragma once +#define MAX_RESPONSE_SIZE 128 + typedef struct { - char *response_buffer; + char response_buffer[MAX_RESPONSE_SIZE]; int response_code; } auth_prompt_response_t; -- cgit v1.3-2-g11bf