~ubuntu-branches/ubuntu/oneiric/inspircd/oneiric-security

« back to all changes in this revision

Viewing changes to src/modules/m_xmlsocket.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Darren Blaber
  • Date: 2008-04-21 12:51:01 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080421125101-m6lqhtn1wna8u2go
Tags: 1.1.19+dfsg-1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
                                                if (ServerInstance->Config->AddIOHook(portno, this))
62
62
                                                {
63
63
                                                        listenports.push_back(portno);
64
 
                                                                for (size_t i = 0; i < ServerInstance->Config->ports.size(); i++)
65
 
                                                                if (ServerInstance->Config->ports[i]->GetPort() == portno)
66
 
                                                                        ServerInstance->Config->ports[i]->SetDescription("xml");
 
64
                                                        for (size_t j = 0; j < ServerInstance->Config->ports.size(); j++)
 
65
                                                        if (ServerInstance->Config->ports[j]->GetPort() == portno)
 
66
                                                                ServerInstance->Config->ports[j]->SetDescription("xml");
67
67
                                                }
68
68
                                                else
69
69
                                                {