projects
/
fms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version 0.3.13
[fms.git]
/
src
/
freenet
/
siteinserter.cpp
diff --git
a/src/freenet/siteinserter.cpp
b/src/freenet/siteinserter.cpp
index
02b5a73
..
458b71b
100644
(file)
--- a/
src/freenet/siteinserter.cpp
+++ b/
src/freenet/siteinserter.cpp
@@
-228,7
+228,7
@@
void SiteInserter::GeneratePages(const long localidentityid, std::string &uskkey
if((*i)!="" && (*i).find("index.htm")==std::string::npos && (*i).find("trustlist.htm")==std::string::npos && (*i).find("files.htm")==std::string::npos)
\r
{
\r
filename=(*i);
\r
if((*i)!="" && (*i).find("index.htm")==std::string::npos && (*i).find("trustlist.htm")==std::string::npos && (*i).find("files.htm")==std::string::npos)
\r
{
\r
filename=(*i);
\r
- infile=fopen(filename.c_str(),"r
+
b");
\r
+ infile=fopen(filename.c_str(),"rb");
\r
if(infile)
\r
{
\r
fseek(infile,0,SEEK_END);
\r
if(infile)
\r
{
\r
fseek(infile,0,SEEK_END);
\r