diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-09-24 12:40:12 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-09-24 12:40:12 -0400 |
commit | 34e22f57f04180d71772f192dad32df6e82fbe6d (patch) | |
tree | 804414973e108be676e132ae1ca433619bfeb02a /source/http.c | |
parent | 0632b82c82cb26ec942a6b77a95b3b919482b8d4 (diff) | |
download | gen3uploader-34e22f57f04180d71772f192dad32df6e82fbe6d.tar.gz gen3uploader-34e22f57f04180d71772f192dad32df6e82fbe6d.tar.bz2 gen3uploader-34e22f57f04180d71772f192dad32df6e82fbe6d.zip |
GBA now sends over contents of boxes
Diffstat (limited to 'source/http.c')
-rw-r--r-- | source/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/http.c b/source/http.c index 1979e22..be62dce 100644 --- a/source/http.c +++ b/source/http.c | |||
@@ -58,7 +58,7 @@ static int tcpWrite( | |||
58 | result = net_write(*(s32*)firstParam, buffer, block); | 58 | result = net_write(*(s32*)firstParam, buffer, block); |
59 | } | 59 | } |
60 | 60 | ||
61 | if ((result == 0) || (result == -56)) | 61 | if ((result == 0) || (result == -56) || (result == -11)) |
62 | { | 62 | { |
63 | usleep(20 * 1000); | 63 | usleep(20 * 1000); |
64 | 64 | ||
@@ -73,7 +73,7 @@ static int tcpWrite( | |||
73 | sent += result; | 73 | sent += result; |
74 | left -= result; | 74 | left -= result; |
75 | buffer += result; | 75 | buffer += result; |
76 | usleep(100); | 76 | usleep(1000); |
77 | 77 | ||
78 | if ((sent / TCP_BLOCK_SIZE) > step) | 78 | if ((sent / TCP_BLOCK_SIZE) > step) |
79 | { | 79 | { |