File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<!DOCTYPE QtCreatorProject >
3- <!-- Written by QtCreator 3.2.2, 2015-03-27T17:50:48 . -->
3+ <!-- Written by QtCreator 3.2.2, 2015-03-27T18:07:52 . -->
44<qtcreator >
55 <data >
66 <variable >EnvironmentId</variable >
6161 <value type =" QString" key =" ProjectExplorer.ProjectConfiguration.DefaultDisplayName" >Desktop</value >
6262 <value type =" QString" key =" ProjectExplorer.ProjectConfiguration.DisplayName" >Desktop</value >
6363 <value type =" QString" key =" ProjectExplorer.ProjectConfiguration.Id" >{c77ee4a2-1c2a-4bac-9185-8378ec4ebf5d}</value >
64- <value type =" int" key =" ProjectExplorer.Target.ActiveBuildConfiguration" >1 </value >
64+ <value type =" int" key =" ProjectExplorer.Target.ActiveBuildConfiguration" >0 </value >
6565 <value type =" int" key =" ProjectExplorer.Target.ActiveDeployConfiguration" >0</value >
6666 <value type =" int" key =" ProjectExplorer.Target.ActiveRunConfiguration" >0</value >
6767 <valuemap type =" QVariantMap" key =" ProjectExplorer.Target.BuildConfiguration.0" >
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ namespace HttpServer
226226
227227 send_size_left -= send_size;
228228 }
229- while (false == file.eof () && std::numeric_limits<size_t >::max () != send_size && send_size_left);
229+ while (false == file.eof () && false == file. fail () && std::numeric_limits<size_t >::max () != send_size && send_size_left);
230230 }
231231 }
232232
@@ -348,7 +348,7 @@ namespace HttpServer
348348 file.read (reinterpret_cast <char *>(buf.data () ), buf.size () );
349349 send_size = clientSocket.nonblock_send (buf, file.gcount (), timeout);
350350 }
351- while (false == file.eof () && false == file.fail () && std::numeric_limits<size_t >::max () != send_size);
351+ while (false == file.eof () && false == file.fail () && std::numeric_limits<size_t >::max () != send_size);
352352 }
353353
354354 file.close ();
You can’t perform that action at this time.
0 commit comments