Skip to content

Commit

Permalink
Use smaller initial value for spdylay_pq
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed Mar 2, 2014
1 parent 03391f0 commit 4e4d677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spdylay_pq.c
Expand Up @@ -26,7 +26,7 @@

int spdylay_pq_init(spdylay_pq *pq, spdylay_compar compar)
{
pq->capacity = 4096;
pq->capacity = 128;
pq->q = malloc(pq->capacity * sizeof(void*));
if(pq->q == NULL) {
return SPDYLAY_ERR_NOMEM;
Expand Down

0 comments on commit 4e4d677

Please sign in to comment.