Skip to content

Commit

Permalink
Dies verhindert grosse
Browse files Browse the repository at this point in the history
riesigen Katastrophen
  • Loading branch information
hikari-no-yume committed Nov 10, 2013
1 parent b108dc3 commit 3c293ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/gg2/Scripts/Networking/HTTP/httpRequestStep.gml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ with (client)
chunkSize = '';

// Read chunk size byte by byte
while (true)
while (buffer_bytes_left(responseBody))
{
c = read_string(responseBody, 1);
if (c == CR or c == ';')
Expand All @@ -131,7 +131,7 @@ with (client)
if (c == ';')
{
// skip all extension stuff
while (c != CR)
while (buffer_bytes_left(responseBody) && c != CR)
{
c = read_string(responseBody, 1);
}
Expand Down Expand Up @@ -202,7 +202,7 @@ with (client)
{
var linebuf;
linebuf = '';
while (true)
while (buffer_bytes_left(responseBody))
{
c = read_string(responseBody, 1);
if (c != CR)
Expand Down

0 comments on commit 3c293ab

Please sign in to comment.