diff Core/HttpServer/MongooseServer.cpp @ 8:3a584803783e

build with visual studio
author jodogne
date Fri, 20 Jul 2012 11:00:49 +0200
parents 3959d33612cc
children 27e2bbc11200
line wrap: on
line diff
--- a/Core/HttpServer/MongooseServer.cpp	Thu Jul 19 22:39:52 2012 +0200
+++ b/Core/HttpServer/MongooseServer.cpp	Fri Jul 20 11:00:49 2012 +0200
@@ -281,7 +281,7 @@
       {
         return PostDataStatus_Failure;
       }
-      assert((unsigned int) r <= length);
+      assert(r <= length);
       length -= r;
       pos += r;
     }
@@ -353,7 +353,7 @@
       {
         if (last != FindIterator())
         {
-          Range part(&last->back(), &it->front());
+/*          Range part(&last->back(), &it->front());
           Range content = boost::find_first(part, "\r\n\r\n");
           if (content != Range())
           {
@@ -379,7 +379,7 @@
                 return chunkStore.Store(completedFile, chunkData, chunkSize, fileName->second, fileSize);
               }
             }
-          }
+          }*/
         }
 
         last = it;