Fixed key value detection subtype

Signed-off-by: tyrolyean <tyrolyean@tyrolyean.net>
This commit is contained in:
tyrolyean 2020-05-01 01:49:04 +02:00
parent 418eee6c4f
commit cbf9ac5135
No known key found for this signature in database
GPG key ID: EDD105663B707C62

View file

@ -189,6 +189,11 @@ char* get_value_equals(char* content_type, size_t content_len,
}
}
if(state == STATE_ALNUM){
*boundary_len = content_type+content_len - boundary_begin;
return boundary_begin;
}
*boundary_len = 0;
return NULL;
}