ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Bender/Bender.cpp
(Generate patch)

Comparing Bender/Bender.cpp (file contents):
Revision 121 by Douglas Thrift, 2004-03-18T23:26:40-08:00 vs.
Revision 122 by Douglas Thrift, 2004-03-20T18:27:27-08:00

# Line 73 | Line 73 | void Bender::bend(const string& path, co
73          {
74                  bend(path);
75          }
76        else if (agent == matcher(string("^Mozilla/4.0 \\(compatible; MSIE (\\d+)")
77                + "\\.(\\d+)(\\w+)?; .*\\)$"))
78        {
79                int version;
80                istringstream number(matcher[1]);
81
82                number >> version;
83
84                if (version >= 6)
85                {
86                        pass(path);
87                }
88                else
89                {
90                        bend(path);
91                }
92        }
76          else if (agent == matcher(string("^Mozilla/5.0 \\(.*; rv:(\\d+)\\.(\\d+)(")
77                  + "\\.d+)?(\\w+)?\\) Gecko\\/.*"))
78          {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines