diff options
Diffstat (limited to 'src/examples/demo_https.c')
-rw-r--r-- | src/examples/demo_https.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/demo_https.c b/src/examples/demo_https.c index 4b937af1..22821e95 100644 --- a/src/examples/demo_https.c +++ b/src/examples/demo_https.c | |||
@@ -415,7 +415,7 @@ update_directory (void) | |||
415 | update_cached_response (NULL); | 415 | update_cached_response (NULL); |
416 | return; | 416 | return; |
417 | } | 417 | } |
418 | memcpy (rdc.buf, INDEX_PAGE_FOOTER, len); | 418 | memcpy (&rdc.buf[rdc.off], INDEX_PAGE_FOOTER, len); |
419 | rdc.off += len; | 419 | rdc.off += len; |
420 | initial_allocation = rdc.buf_len; /* remember for next time */ | 420 | initial_allocation = rdc.buf_len; /* remember for next time */ |
421 | response = | 421 | response = |