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

« back to all changes in this revision

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

  • 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:
77
77
        if(chars != 0 && *chars != 0) {
78
78
            // get length of chars
79
79
            XMLSize_t count = 0;
80
 
            for(; *(chars+count); ++count);
 
80
            for(; *(chars+count); ++count) ;
81
81
 
82
82
            if(fIndex + count >= fCapacity) {
83
83
                insureCapacity(count);