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

Comparing FeepingCreaturism/FeepingCreaturism.cpp (file contents):
Revision 197 by Douglas Thrift, 2004-08-27T19:31:26-07:00 vs.
Revision 198 by Douglas Thrift, 2004-08-30T18:09:53-07:00

# Line 29 | Line 29 | FeepingCreaturism::FeepingCreaturism()
29          std::string path(env.get("PATH_INFO"));
30          Matcher matcher;
31  
32 <        if (path.empty()) daily(); else if (path == "/random")
32 >        if (path == "/daily/") daily(); else if (path == "/random/")
33          {
34                  random();
35          }
# Line 37 | Line 37 | FeepingCreaturism::FeepingCreaturism()
37          {
38                  select(matcher[1], true);
39          }
40 <        else daily();
40 >        else
41 >        {
42 >                cout << "Status: 301\r\n";
43 >        }
44   }
45  
46   void FeepingCreaturism::initialize()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines