~ubuntu-branches/ubuntu/precise/xerces-c/precise-security

« back to all changes in this revision

Viewing changes to src/xercesc/util/NetAccessors/BinHTTPInputStreamCommon.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jay Berkenbilt
  • Date: 2010-02-06 16:46:23 UTC
  • mfrom: (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100206164623-xbntkcs6ks20nboa
Tags: 3.1.0-1
* New upstream release
* Updated standards version to 3.8.4.  No changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
 
169
169
            char *endP = strstr(p, CRLF);
170
170
            if(endP == 0) {
171
 
                for(endP = p; *endP != 0; ++endP);
 
171
                for(endP = p; *endP != 0; ++endP) ;
172
172
            }
173
173
 
174
174
            // Transcode from iso-8859-1
257
257
{
258
258
    if(fContentType == 0) {
259
259
        // mutable
260
 
        const_cast<XMLCh*&>(fContentType) = const_cast<BinHTTPInputStreamCommon*>(this)->findHeader("Content-Type");
 
260
        const_cast<BinHTTPInputStreamCommon*>(this)->fContentType =
 
261
        const_cast<BinHTTPInputStreamCommon*>(this)->findHeader("Content-Type");
261
262
    }
262
263
    return fContentType;
263
264
}