Changeset 29

Show
Ignore:
Timestamp:
11/29/02 23:02:33 (10 years ago)
Author:
ahu
Message:

debugging output

Location:
trunk/pdns
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/configure.in

    r28 r29  
    149149AC_SUBST(modulelibs) 
    150150 
    151 if echo $modules | grep -q "mysql" 
     151for a in $modules 
     152do 
     153        case "$a" in 
     154                pgmysql ) 
     155                        if test "$dopgsql"  
     156                                then  
     157                                        needpgsql=yes 
     158                         fi 
     159                        if test "$domysql"  
     160                                then  
     161                                        needmysql=yes 
     162                         fi 
     163                ;; 
     164                mysql ) 
     165                        needmysql=yes 
     166                ;; 
     167                pdns ) 
     168                        needmysql=yes 
     169                ;; 
     170        esac 
     171done 
     172 
     173 
     174if test "$needmysql" 
    152175then 
    153176        AC_ARG_WITH(mysql, 
     
    205228fi 
    206229 
    207 for a in $modules 
    208 do 
    209         case "$a" in 
    210                 pgmysql ) 
    211                         if test "$dopgsql"  
    212                                 then  
    213                                         needpgsql=yes 
    214                          fi 
    215                 ;; 
    216         esac 
    217 done 
    218230 
    219231 
  • trunk/pdns/pdns/dnspacket.cc

    r2 r29  
    1717    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    1818*/ 
    19 // $Id: dnspacket.cc,v 1.1 2002/11/27 15:18:31 ahu Exp $ 
     19// $Id: dnspacket.cc,v 1.2 2002/11/29 22:02:33 ahu Exp $ 
    2020#include "utility.hh" 
    2121#include <cstdio> 
     
    491491   
    492492  u_int32_t *ttlp=(u_int32_t *)(p+4); 
    493   cout<<"adding ttl: "<<ttl<<endl; 
    494493  *ttlp=htonl(ttl); // 4, 5, 6, 7 
    495494   
  • trunk/pdns/pdns/ueberbackend.cc

    r2 r29  
    1717    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    1818*/ 
    19 // $Id: ueberbackend.cc,v 1.1 2002/11/27 15:18:33 ahu Exp $  
     19// $Id: ueberbackend.cc,v 1.2 2002/11/29 22:02:33 ahu Exp $  
    2020/* (C) Copyright 2002 PowerDNS.COM BV */ 
    2121#include "utility.hh" 
     
    155155      rr.content=DNSPacket::serializeSOAData(sd); 
    156156      rr.ttl=sd.ttl; 
    157       cout<<"Set rr.ttl to "<<sd.ttl<<endl; 
    158157      rr.domain_id=sd.domain_id; 
    159158      addOneCache(d_question,rr);