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 375 by douglas, 2004-12-22T18:12:44-08:00 vs.
Revision 377 by douglas, 2004-12-22T18:32:10-08:00

# Line 91 | Line 91 | void FeepingCreaturism::parse()
91  
92          if (env.get("REQUEST_METHOD") == "POST")
93          {
94 <                std::streamsize length(lexical_cast<std::streamsize>(env.get("CONTENT_TYPE")));
94 >                std::streamsize length(lexical_cast<std::streamsize>(env.get("CONTENT_LENGTH")));
95                  char* content(new char[length]);
96  
97                  api::Cin.Read(content, length);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines