changeset 219:5459f05b4f54

fix for windows
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 29 Nov 2012 14:08:27 +0100
parents 0200cd330582
children bb8c260c0092
files Core/HttpServer/FilesystemHttpSender.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Core/HttpServer/FilesystemHttpSender.cpp	Thu Nov 29 13:27:33 2012 +0100
+++ b/Core/HttpServer/FilesystemHttpSender.cpp	Thu Nov 29 14:08:27 2012 +0100
@@ -50,7 +50,7 @@
 
   bool FilesystemHttpSender::SendData(HttpOutput& output)
   {
-    FILE* fp = fopen(path_.c_str(), "rb");
+    FILE* fp = fopen(path_.string().c_str(), "rb");
     if (!fp)
     {
       return false;