don't log from here. This is used from Write, so write errors in logging

are causing infinite recursion.
This commit is contained in:
Glenn Maynard
2007-03-09 18:27:02 +00:00
parent 61c3a6244c
commit 53dcc71e11
-1
View File
@@ -380,7 +380,6 @@ int RageFileObjDirect::WriteInternal( const void *pBuf, size_t iBytes )
int iRet = RetriedWrite( m_iFD, pBuf, iBytes );
if( iRet == -1 )
{
LOG->Warn("Error writing %s: %s", this->m_sPath.c_str(), strerror(errno) );
SetError( strerror(errno) );
m_bWriteFailed = true;
return -1;