[exim-cvs] cvs commit: exim/exim-src/src dns.c exim.h

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: exim-cvs
Betreff: [exim-cvs] cvs commit: exim/exim-src/src dns.c exim.h
ph10 2005/06/29 11:56:35 BST

  Modified files:
    exim-src/src         dns.c exim.h 
  Log:
  Forgot T_SOA when adding the backup T_xxx definitions. Also, T_SOA was
  omitted in the list that turns numbers into strings for printing.


  Revision  Changes    Path
  1.9       +3 -1      exim/exim-src/src/dns.c
  1.17      +4 -0      exim/exim-src/src/exim.h


  Index: dns.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/dns.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- dns.c    10 Jun 2005 13:38:06 -0000    1.8
  +++ dns.c    29 Jun 2005 10:56:35 -0000    1.9
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/dns.c,v 1.8 2005/06/10 13:38:06 tom Exp $ */
  +/* $Cambridge: exim/exim-src/src/dns.c,v 1.9 2005/06/29 10:56:35 ph10 Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -249,7 +249,8 @@
   *            Turn DNS type into text             *
   *************************************************/


-/* Turn the coded record type into a string for printing.
+/* Turn the coded record type into a string for printing. All those that Exim
+uses should be included here.

   Argument:   record type
   Returns:    pointer to string
  @@ -266,6 +267,7 @@
     case T_A6:    return US"A6";
     case T_TXT:   return US"TXT";
     case T_PTR:   return US"PTR";
  +  case T_SOA:   return US"SOA";
     case T_SRV:   return US"SRV";
     case T_NS:    return US"NS";
     case T_CNAME: return US"CNAME";


  Index: exim.h
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/exim.h,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- exim.h    27 Jun 2005 10:52:20 -0000    1.16
  +++ exim.h    29 Jun 2005 10:56:35 -0000    1.17
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/exim.h,v 1.16 2005/06/27 10:52:20 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/exim.h,v 1.17 2005/06/29 10:56:35 ph10 Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -289,6 +289,10 @@


#ifndef T_CNAME
#define T_CNAME 5
+#endif
+
+#ifndef T_SOA
+#define T_SOA 6
#endif

#ifndef T_MX