aboutsummaryrefslogtreecommitdiff
path: root/src/auth.h
diff options
context:
space:
mode:
authorJames Magahern <james@magahern.com>2019-01-20 20:57:52 -0800
committerJames Magahern <james@magahern.com>2019-01-20 20:58:13 -0800
commit4b8abf88387a1bf732afd5c1a6abc5b8b486341c (patch)
treea50c6c6a6bcc51769c5b74c164488cf0f2115ae6 /src/auth.h
parentRed flash animation on bad password (diff)
Spinner animation and tweaks to memory management
Diffstat (limited to 'src/auth.h')
-rw-r--r--src/auth.h4
1 files changed, 3 insertions, 1 deletions
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;