summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-09-17 07:53:40 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-09-17 07:53:40 +0200
commit0d4b68605ce6fcf61e8de013128b90fd75ce6fa8 (patch)
tree24ced953050f07b4f8dd941c5dec61bf9279f277
parent156c3dce1581c40847c823032268d8f075f92e66 (diff)
downloadcurl-bagder/http2-pushinmemory.tar.gz
-rw-r--r--docs/examples/http2-pushinmemory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/http2-pushinmemory.c b/docs/examples/http2-pushinmemory.c
index 70af6c30f..948846f43 100644
--- a/docs/examples/http2-pushinmemory.c
+++ b/docs/examples/http2-pushinmemory.c
@@ -65,7 +65,7 @@ static int pushindex = 1;
static void init_memory(struct Memory *chunk)
{
- chunk->memory = malloc(1); /* will be grown as needed by the realloc above */
+ chunk->memory = malloc(1); /* grown as needed with realloc */
chunk->size = 0; /* no data at this point */
}