add stupid little httpd
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user