diff options
Diffstat (limited to 'src/handshake.c')
-rw-r--r-- | src/handshake.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handshake.c b/src/handshake.c index 28abfc2..070c959 100644 --- a/src/handshake.c +++ b/src/handshake.c @@ -310,7 +310,7 @@ static inline const fastd_method_t* get_method(fastd_context_t *ctx, const fastd if (handshake->records[RECORD_METHOD_LIST].data && handshake->records[RECORD_METHOD_LIST].length) { fastd_string_stack_t *method_list = parse_string_list(handshake->records[RECORD_METHOD_LIST].data, handshake->records[RECORD_METHOD_LIST].length); - const fastd_method_t *method; + const fastd_method_t *method = NULL; fastd_string_stack_t *method_name = method_list; while (method_name) { |