1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

strexp: handle NULL better

This commit is contained in:
Haopeng Li 2021-06-07 15:10:29 +01:00 committed by Andy Green
parent aa090fc287
commit 896a2e09fc

View file

@ -429,7 +429,7 @@ lws_ss_exp_cb_metadata(void *priv, const char *name, char *out, size_t *pos,
replace = hmd->value__may_own_heap;
if (!replace)
return LSTRX_FILLED_OUT;
return LSTRX_DONE;
total = hmd->length;