diff options
-rw-r--r-- | ext/kcar/kcar.rl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/kcar/kcar.rl b/ext/kcar/kcar.rl index d21b243..cbcfa97 100644 --- a/ext/kcar/kcar.rl +++ b/ext/kcar/kcar.rl @@ -209,7 +209,7 @@ static void write_cont_value(struct http_parser *hp, /* normalize tab to space */ if (cont_len > 0) { - assert((' ' == *vptr || '\t' == *vptr) && "invalid leading white space"); + assert(is_lws(*vptr) && "invalid leading white space"); *vptr = ' '; } for (end = len - 1; end >= 0 && is_lws(vptr[end]); end--); |