mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-26 13:20:05 +03:00
idk
This commit is contained in:
parent
199fe4aaec
commit
cf07121832
1 changed files with 4 additions and 1 deletions
5
http.d
5
http.d
|
@ -209,7 +209,10 @@ body {
|
|||
return readln();
|
||||
}
|
||||
auto ret = buffer[0 .. idx + 2]; // + the \r\n
|
||||
buffer = buffer[idx + 2 .. $];
|
||||
if(idx + 2 < buffer.length)
|
||||
buffer = buffer[idx + 2 .. $];
|
||||
else
|
||||
buffer = null;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue