]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix: Squid does not compile with --enable-storeio=coss
authoramosjeffries <>
Sat, 19 May 2007 11:03:48 +0000 (11:03 +0000)
committeramosjeffries <>
Sat, 19 May 2007 11:03:48 +0000 (11:03 +0000)
src/DiskIO/AIO/AIODiskFile.cc

index e04e112f96290bf5826c9eb3ec079c5a7d4112c2..4b8804775847d1b3a74ca6877224454166ba6c7e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: AIODiskFile.cc,v 1.4 2007/04/28 22:26:40 hno Exp $
+ * $Id: AIODiskFile.cc,v 1.5 2007/05/19 05:03:48 amosjeffries Exp $
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
  * ----------------------------------------------------------
@@ -85,10 +85,10 @@ AIODiskFile::open (int flags, mode_t mode, IORequestor::Pointer callback)
 {
     /* Simulate async calls */
 #ifdef _SQUID_WIN32_
-    fd = aio_open(path.buf(), flags);
+    fd = aio_open(path.c_str(), flags);
 #else
 
-    fd = file_open(path.buf() , flags);
+    fd = file_open(path.c_str() , flags);
 #endif
 
     ioRequestor = callback;