diff options
Diffstat (limited to 'www/bk2site/files/patch-iwebstream.C')
-rw-r--r-- | www/bk2site/files/patch-iwebstream.C | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/www/bk2site/files/patch-iwebstream.C b/www/bk2site/files/patch-iwebstream.C new file mode 100644 index 000000000000..2b9fbe5f36e1 --- /dev/null +++ b/www/bk2site/files/patch-iwebstream.C @@ -0,0 +1,22 @@ +--- iwebstream.C~ Tue Sep 3 01:05:42 2002 ++++ iwebstream.C Tue Sep 3 01:08:08 2002 +@@ -33,7 +33,7 @@ + //#define DEBUG_TIMEOUT + + // The constructor. +-iwebstream::iwebstream(string url, int timeout = 30) : defaultTimeout(timeout), data(""), position(0) { ++iwebstream::iwebstream(string url, int timeout) : defaultTimeout(timeout), data(""), position(0) { + string origurl = url; + string method; + string host; +@@ -424,8 +424,8 @@ + // Case is ignored in comparisions. + // If begin is not found, return "". Move position to point to char after end; + // If end == "" then just find begin and place position just after it +-string iwebstream::findTag(const string & begin, const string & end, const string & after = "", +- const string & before = "") { ++string iwebstream::findTag(const string & begin, const string & end, const string & after, ++ const string & before) { + // cout << "findTag begin=" << begin << "=" << endl + // << "end=" << end << "=" << endl + // << "after=" << after << "=" << endl |