nhttpd 3.3.3 add largefile support for recorded movie streaming

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@748 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: a3478b752d
Author: yjogol <yjogol2@online.de>
Date: 2010-09-05 (Sun, 05 Sep 2010)



------------------
This commit was generated by Migit
This commit is contained in:
yjogol
2010-09-05 10:04:21 +00:00
parent 8ae0e1b30c
commit 6bb9c5cd1d

View File

@@ -181,7 +181,7 @@ int CmodSendfile::OpenFile(CyhookHandler *, std::string fullfilename) {
int fd = -1;
std::string tmpstring;
if (fullfilename.length() > 0) {
fd = open(fullfilename.c_str(), O_RDONLY);
fd = open(fullfilename.c_str(), O_RDONLY | O_LARGEFILE);
if (fd <= 0) {
aprintf("cannot open file %s: ", fullfilename.c_str());
dperror("");