Permalink
Browse files

fix crash when uploading save

  • Loading branch information...
jacob1 committed Feb 4, 2015
1 parent 4fa0296 commit 1840f4e39c9579267a31db42a636caba0e229dc4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/client/HTTP.cpp
@@ -936,7 +936,7 @@ char *http_multipart_post(const char *uri, const char *const *names, const char
memset(map, 0, 62*sizeof(int));
for (i=0; names[i]; i++)
{
for (size_t j=0; j<plens[i]-blen; j++)
for (ssize_t j=0; j<(ssize_t)plens[i]-blen; j++)
if (!blen || !memcmp(parts[i]+j, boundary, blen))
{
ch = parts[i][j+blen];

0 comments on commit 1840f4e

Please sign in to comment.