aboutsummaryrefslogtreecommitdiff
path: root/src/examples/demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/demo.c')
-rw-r--r--src/examples/demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/demo.c b/src/examples/demo.c
index bae63d74..ded2cf01 100644
--- a/src/examples/demo.c
+++ b/src/examples/demo.c
@@ -413,7 +413,7 @@ update_directory (void)
413 update_cached_response (NULL); 413 update_cached_response (NULL);
414 return; 414 return;
415 } 415 }
416 memcpy (rdc.buf, INDEX_PAGE_FOOTER, len); 416 memcpy (&rdc.buf[rdc.off], INDEX_PAGE_FOOTER, len);
417 rdc.off += len; 417 rdc.off += len;
418 initial_allocation = rdc.buf_len; /* remember for next time */ 418 initial_allocation = rdc.buf_len; /* remember for next time */
419 response = 419 response =