diff options
| author | James Magahern <james@magahern.com> | 2019-01-20 20:57:52 -0800 |
|---|---|---|
| committer | James Magahern <james@magahern.com> | 2019-01-20 20:58:13 -0800 |
| commit | 4b8abf88387a1bf732afd5c1a6abc5b8b486341c (patch) | |
| tree | a50c6c6a6bcc51769c5b74c164488cf0f2115ae6 /src/auth.h | |
| parent | Red flash animation on bad password (diff) | |
Spinner animation and tweaks to memory management
Diffstat (limited to 'src/auth.h')
| -rw-r--r-- | src/auth.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |