~ubuntu-branches/ubuntu/lucid/ktorrent/lucid

« back to all changes in this revision

Viewing changes to libbtcore/download/httpconnection.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-12-08 19:17:41 UTC
  • mfrom: (1.2.1 upstream) (0.7.12 sid)
  • Revision ID: james.westby@ubuntu.com-20091208191741-lqlq0xvnlv8ki19u
Tags: 3.3.1+dfsg.1-1ubuntu1
* Merge with Debian Testing remaining changes:
  - Build-depend directly on libboost-serialization1.40-dev since
    libboost-serialization-dev from boost-defaults is not in Main
  - Add in rules: include /usr/lib/kubuntu-desktop-i18n/debhelper/kubuntu.mk
  - Don't use dpkg-source 3.0 format
  - Add quilt to build-depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
                        
169
169
                        memcpy(data,g->buffer.data() + g->bytes_sent,len);
170
170
                        g->bytes_sent += len;
171
 
                        if (len == g->buffer.size())
 
171
                        if ((int) len == g->buffer.size())
172
172
                        {
173
173
                                g->buffer.clear();
174
174
                                g->request_sent = true;
388
388
                                // we got redirected to somewhere else
389
389
                                if (!hdr.hasKey("Location"))
390
390
                                {
391
 
                                        failure_reason = i18n("Redirected without a new location !");
 
391
                                        failure_reason = i18n("Redirected without a new location.");
392
392
                                        return false;
393
393
                                }
394
394
                                else