Changeset 568

Show
Ignore:
Timestamp:
03/02/06 22:21:16 (7 years ago)
Author:
ahu
Message:

g++ 4.1 fixes (all trivial), copyright update

Location:
trunk/pdns/pdns
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/arguments.cc

    r215 r568  
    11/* 
    22    PowerDNS Versatile Database Driven Nameserver 
    3     Copyright (C) 2002 PowerDNS.COM BV 
     3    Copyright (C) 2002 - 2006 PowerDNS.COM BV 
    44 
    55    This program is free software; you can redistribute it and/or modify 
    6     it under the terms of the GNU General Public License as published by 
    7     the Free Software Foundation; either version 2 of the License, or 
    8     (at your option) any later version. 
     6    it under the terms of the GNU General Public License version 2 as published  
     7    by the Free Software Foundation 
    98 
    109    This program is distributed in the hope that it will be useful, 
     
    2120 
    2221#include "arguments.hh" 
    23  
    24  
    2522 
    2623const ArgvMap::param_t::const_iterator ArgvMap::begin() 
  • trunk/pdns/pdns/arguments.hh

    r215 r568  
    7878    parse(argc,argv,true); 
    7979  } 
    80   void ArgvMap::preParse(int &argc, char **argv, const string &arg); //!< use this to preparse a single var 
    81   bool ArgvMap::preParseFile(const char *fname, const string &arg); //!< use this to preparse a single var in configuration 
     80  void preParse(int &argc, char **argv, const string &arg); //!< use this to preparse a single var 
     81  bool preParseFile(const char *fname, const string &arg); //!< use this to preparse a single var in configuration 
    8282 
    8383  bool file(const char *fname, bool lax=false); //!< Parses a file with parameters 
  • trunk/pdns/pdns/packetcache.hh

    r215 r568  
    6464  PacketCache(); 
    6565  void insert(DNSPacket *q, DNSPacket *r);  //!< We copy the contents of *p into our cache. Do not needlessly call this to insert questions already in the cache as it wastes resources 
    66   void PacketCache::insert(const char *packet, int length); 
     66  void insert(const char *packet, int length); 
    6767 
    6868  inline int get(DNSPacket *p, DNSPacket *q); //!< We return a dynamically allocated copy out of our cache. You need to delete it. You also need to spoof in the right ID with the DNSPacket.spoofID() method. 
  • trunk/pdns/pdns/packethandler.hh

    r518 r568  
    8383  int processNotify(DNSPacket *); 
    8484  void addRootReferral(DNSPacket *r); 
    85   int PacketHandler::trySuperMaster(DNSPacket *p); 
     85  int trySuperMaster(DNSPacket *p); 
    8686  int makeCanonic(DNSPacket *p, DNSPacket *r, string &target); 
    8787  int doWildcardRecords(DNSPacket *p, DNSPacket *r, string &target); 
  • trunk/pdns/pdns/receiver.cc

    r475 r568  
    11/* 
    22    PowerDNS Versatile Database Driven Nameserver 
    3     Copyright (C) 2002 - 2005  PowerDNS.COM BV 
     3    Copyright (C) 2002 - 2006  PowerDNS.COM BV 
    44 
    55    This program is free software; you can redistribute it and/or modify 
     
    573573  DLOG(L<<Logger::Warning<<"Verbose logging in effect"<<endl); 
    574574   
    575   L<<Logger::Warning<<"PowerDNS "<<VERSION<<" (C) 2001-2005 PowerDNS.COM BV ("<<__DATE__", "__TIME__; 
     575  L<<Logger::Warning<<"PowerDNS "<<VERSION<<" (C) 2001-2006 PowerDNS.COM BV ("<<__DATE__", "__TIME__; 
    576576#ifdef __GNUC__ 
    577577  L<<", gcc "__VERSION__; 
  • trunk/pdns/pdns/ueberbackend.hh

    r326 r568  
    121121  static DNSBackend *maker(const map<string,string> &); 
    122122  static void closeDynListener(); 
    123   static void UeberBackend::setStatus(const string &st); 
     123  static void setStatus(const string &st); 
    124124  void getUnfreshSlaveInfos(vector<DomainInfo>* domains); 
    125125  void getUpdatedMasters(vector<DomainInfo>* domains);