[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r10748: Fix build with USE_CURL unde
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r10748: Fix build with USE_CURL undefined. Fixes bug #26036 |
Date: |
Sat, 28 Mar 2009 12:44:39 +0100 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 10748
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Sat 2009-03-28 12:44:39 +0100
message:
Fix build with USE_CURL undefined. Fixes bug #26036
modified:
libbase/curl_adapter.cpp
=== modified file 'libbase/curl_adapter.cpp'
--- a/libbase/curl_adapter.cpp 2009-02-26 08:04:27 +0000
+++ b/libbase/curl_adapter.cpp 2009-03-28 11:44:39 +0000
@@ -41,26 +41,22 @@
// Stub for warning about access when no libcurl is defined.
std::auto_ptr<IOChannel>
-NetworkAdapter::makeStream(const std::string& /*url*/, const std::string&,
- const std::string& /*cachefile*/)
-{
- log_error(_("libcurl is not available, but "
- "Gnash has attempted to use the curl adapter"));
- return std::auto_ptr<IOChannel>();
-}
-
-std::auto_ptr<IOChannel>
-NetworkAdapter::makeStream(const std::string& url, const std::string& postdata,
- const std::string& cachefile)
-{
- return makeStream(url);
-}
-
-std::auto_ptr<IOChannel>
-NetworkAdapter::makeStream(const std::string& url, const std::string& postdata,
- const RequestHeaders& headers, const std::string& cachefile)
-{
- return makeStream(url);
+NetworkAdapter::makeStream(const std::string& /*url*/,
+ const std::string& /*cachefile*/)
+{
+ log_error(_("libcurl is not available, but "
+ "Gnash has attempted to use the curl adapter"));
+ return std::auto_ptr<IOChannel>();
+}
+
+std::auto_ptr<IOChannel>
+NetworkAdapter::makeStream(const std::string& /*url*/,
+ const std::string& /*postdata*/,
+ const std::string& /*cachefile*/)
+{
+ log_error(_("libcurl is not available, but "
+ "Gnash has attempted to use the curl adapter"));
+ return std::auto_ptr<IOChannel>();
}
} // namespace gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r10748: Fix build with USE_CURL undefined. Fixes bug #26036,
Sandro Santilli <=