Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/1.2.12-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFrench committed Sep 11, 2017
2 parents d5cdb8c + 4eb512f commit f5e6baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evhtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2935,7 +2935,7 @@ evhtp_kv_new(const char * key, const char * val,
{
kv->vlen = strlen(val);

if (val_alloc == 0)
if (val_alloc == 1)
{
char * s = htp__malloc_(kv->vlen + 1);

Expand Down

0 comments on commit f5e6baa

Please sign in to comment.