aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyHeaderSniffer.cpp
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-02-25 07:44:58 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-02-25 07:44:58 +0800
commit9fb6164dd427630f8e72d69113c48a78dd449bc8 (patch)
treebb8614a2c6a04bbcb05be59c1ed525abc77d9f83 /embed/mozilla/EphyHeaderSniffer.cpp
parentd055989e9fc45f0849de45ec00e02802e6769dc0 (diff)
downloadgsoc2013-epiphany-9fb6164dd427630f8e72d69113c48a78dd449bc8.tar
gsoc2013-epiphany-9fb6164dd427630f8e72d69113c48a78dd449bc8.tar.gz
gsoc2013-epiphany-9fb6164dd427630f8e72d69113c48a78dd449bc8.tar.bz2
gsoc2013-epiphany-9fb6164dd427630f8e72d69113c48a78dd449bc8.tar.lz
gsoc2013-epiphany-9fb6164dd427630f8e72d69113c48a78dd449bc8.tar.xz
gsoc2013-epiphany-9fb6164dd427630f8e72d69113c48a78dd449bc8.tar.zst
gsoc2013-epiphany-9fb6164dd427630f8e72d69113c48a78dd449bc8.zip
Make max size property use long / bytes.
2004-02-25 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-persist.c: (ephy_embed_persist_set_max_size), (ephy_embed_persist_set_property), (ephy_embed_persist_get_property), (ephy_embed_persist_init), (ephy_embed_persist_class_init): * embed/ephy-embed-persist.h: Make max size property use long / bytes. * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): Correct to use bytes. * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-embed-persist.cpp: Actually respect the max_size property.
Diffstat (limited to 'embed/mozilla/EphyHeaderSniffer.cpp')
-rw-r--r--embed/mozilla/EphyHeaderSniffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/EphyHeaderSniffer.cpp b/embed/mozilla/EphyHeaderSniffer.cpp
index 136a40325..c9240c1b3 100644
--- a/embed/mozilla/EphyHeaderSniffer.cpp
+++ b/embed/mozilla/EphyHeaderSniffer.cpp
@@ -353,7 +353,7 @@ nsresult EphyHeaderSniffer::InitiateDownload (nsILocalFile *aDestFile)
LOG ("Initiating download")
return InitiateMozillaDownload (mDocument, mURL, aDestFile,
mContentType.get(), mOriginalURI, mEmbedPersist,
- mPostData, nsnull);
+ mPostData, nsnull, -1);
}
NS_IMETHODIMP EphyHeaderSniffer::Prompt (const PRUnichar *dialogTitle, const PRUnichar *text,