[Common-cvs] fileio bufdataf.cpp,1.14.2.4,1.14.2.5
xzhao at helixcommunity.org xzhao at helixcommunity.orgUpdate of /cvsroot/common/fileio
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv28489
Modified Files:
Tag: hxclient_3_1_0_atlas
bufdataf.cpp
Log Message:
Fix a typo
Index: bufdataf.cpp
===================================================================
RCS file: /cvsroot/common/fileio/bufdataf.cpp,v
retrieving revision 1.14.2.4
retrieving revision 1.14.2.5
diff -u -d -r1.14.2.4 -r1.14.2.5
--- bufdataf.cpp 28 Mar 2011 10:34:43 -0000 1.14.2.4
+++ bufdataf.cpp 1 Apr 2011 05:34:47 -0000 1.14.2.5
@@ -427,7 +427,6 @@
STDMETHODIMP_(ULONG32)
BufferedDataFile::Tell()
{
- INT32 offset = -1;
m_ulLastError = (UINT32)HXR_FAIL;
if (m_pFile)
{
@@ -447,8 +446,9 @@
{
m_ulLastError = HXR_OK;
}
+ return (ULONG32) tellRet;
}
- return (ULONG32) offset;
+ return (ULONG32) -1;
}