mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Release 3.1.2
This commit is contained in:
parent
df8bc70308
commit
ed0511ca98
1 changed files with 2 additions and 2 deletions
|
@ -91,11 +91,11 @@ stock_shi_insert (void *hash_ctx, void *key, unsigned key_sz,
|
|||
lsquic_malo_put(he);
|
||||
return -1;
|
||||
}
|
||||
memmove((char *)he->key.buf, key, key_sz);
|
||||
memmove((char *)(he->key.buf), (char *)key, key_sz);
|
||||
((char *)(he->key.buf))[key_sz] = 0;
|
||||
he->key.sz = key_sz;
|
||||
he->data = he->key.buf + he->key.sz + 1;
|
||||
memmove((char *)he->data, data, data_sz);
|
||||
memmove((char *)(he->data), (char *)data, data_sz);
|
||||
he->data_sz = data_sz;
|
||||
he->expiry = expiry;
|
||||
memset(&he->lhash_elem, 0, sizeof(he->lhash_elem));
|
||||
|
|
Loading…
Reference in a new issue