diff Core/HttpServer/FilesystemHttpSender.cpp @ 219:5459f05b4f54

fix for windows
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 29 Nov 2012 14:08:27 +0100
parents 1ac3aacd10a5
children 098661837a96
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;