~ubuntu-branches/ubuntu/lucid/znc/lucid-backports

« back to all changes in this revision

Viewing changes to DCCSock.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2011-05-11 13:34:53 UTC
  • mfrom: (13.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20110511133453-334862gk6gh8dmwp
Tags: 0.092-3~lucid1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2004-2009  See the AUTHORS file for details.
 
2
 * Copyright (C) 2004-2010  See the AUTHORS file for details.
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify it
5
5
 * under the terms of the GNU General Public License version 2 as published
55
55
        m_pUser->DelDCCSock(this);
56
56
}
57
57
 
58
 
void CDCCSock::ReadData(const char* data, int len) {
 
58
void CDCCSock::ReadData(const char* data, size_t len) {
59
59
        if (!m_pFile) {
60
60
                DEBUG("File not open! closing get.");
61
61
                m_pUser->PutModule(m_sModuleName, ((m_bSend) ? "DCC -> [" : "DCC <- [") + m_sRemoteNick + "][" + m_sFileName + "] - File not open!");