Permalink
Browse files

fixed: seeking is assumed to be possible unless the iocontrol says ot…

…herwise

Also this broke SEEK_END, since that and the SEEK_POSSIBLE ioctrl share number
  • Loading branch information...
1 parent 6bb4506 commit 8fc00545d3852caadb7f514c3e3ee7aae1a5ee89 @elupus elupus committed Apr 23, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −2 xbmc/filesystem/FileSmb.cpp
View
2 xbmc/filesystem/FileSmb.cpp
@@ -638,8 +638,6 @@ unsigned int CFileSMB::Read(void *lpBuf, int64_t uiBufSize)
int64_t CFileSMB::Seek(int64_t iFilePosition, int iWhence)
{
if (m_fd == -1) return -1;
- if(iWhence == IOCTRL_SEEK_POSSIBLE)
- return 1;
CSingleLock lock(smb); // Init not called since it has to be "inited" by now
#ifdef _LINUX

0 comments on commit 8fc0054

Please sign in to comment.