Changeset 2445


Ignore:
Timestamp:
09/01/2009 10:19:11 (3 years ago)
Author:
chris
Message:

Reset to remove old content in HTTPResponse in assignment operator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/lib/httpserver/HTTPResponse.h

    r2443 r2445  
    4949        HTTPResponse &operator=(const HTTPResponse &rOther) 
    5050        { 
     51                Reset(); 
    5152                Write(rOther.GetBuffer(), rOther.GetSize()); 
    5253                mResponseCode = rOther.mResponseCode; 
Note: See TracChangeset for help on using the changeset viewer.