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

Comparing Smersh/Smersh.cpp (file contents):
Revision 174 by Douglas Thrift, 2004-06-21T03:15:47-07:00 vs.
Revision 175 by Douglas Thrift, 2004-06-25T01:10:49-07:00

# Line 88 | Line 88 | void Smersh::parse(istream& sin, Environ
88          if (env.get("REQUEST_METHOD") == "POST")
89          {
90                  streamsize length(lexical_cast<streamsize>(env.get("CONTENT_LENGTH")));
91 <                char* content = new char[length];
91 >                char* content(new char[length]);
92  
93                  sin.read(content, length);
94                  query.write(content, length);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines