add stupid little httpd

This commit is contained in:
leitner
2003-09-10 01:59:12 +00:00
parent ea8e1cc90b
commit 3e2f6d0439
5 changed files with 293 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ fail:
return;
}
l=to->initialized;
if (!array_allocate(to,1,to->initialized+len))
if (!array_allocate(to,1,to->initialized+len-1))
goto fail;
byte_copy(to->p+l,to->initialized-l,from);
}