SOURCES (DEVEL): postfix-ident.patch - fix nr3, builds now

sparky sparky at pld-linux.org
Thu Jul 13 16:52:13 CEST 2006


Author: sparky                       Date: Thu Jul 13 14:52:13 2006 GMT
Module: SOURCES                       Tag: DEVEL
---- Log message:
- fix nr3, builds now

---- Files affected:
SOURCES:
   postfix-ident.patch (1.2.2.3 -> 1.2.2.4) 

---- Diffs:

================================================================
Index: SOURCES/postfix-ident.patch
diff -u SOURCES/postfix-ident.patch:1.2.2.3 SOURCES/postfix-ident.patch:1.2.2.4
--- SOURCES/postfix-ident.patch:1.2.2.3	Thu Jul 13 16:41:14 2006
+++ SOURCES/postfix-ident.patch	Thu Jul 13 16:52:08 2006
@@ -277,16 +277,17 @@
  /* smtpd_peer_init - initialize peer information */
  
  void    smtpd_peer_init(SMTPD_STATE *state)
-@@ -131,6 +135,8 @@
+@@ -131,6 +135,9 @@
      const char *myname = "smtpd_peer_init";
      SOCKADDR_SIZE sa_length;
      struct sockaddr *sa;
 +    struct sockaddr_in serv_sin;
 +    char *ident_user = NULL;
++    size_t sa_len;
      INET_PROTO_INFO *proto_info = inet_proto_info();
  
      sa = (struct sockaddr *) & (state->sockaddr);
-@@ -163,6 +169,7 @@
+@@ -163,6 +170,7 @@
  	state->addr_family = AF_UNSPEC;
  	state->name_status = SMTPD_PEER_CODE_PERM;
  	state->reverse_name_status = SMTPD_PEER_CODE_PERM;
@@ -294,7 +295,7 @@
      }
  
      /*
-@@ -302,6 +309,7 @@
+@@ -302,6 +310,7 @@
  	    if (aierr) {
  		msg_warn("%s: hostname %s verification failed: %s",
  			 state->addr, state->name, MAI_STRERROR(aierr));
@@ -302,7 +303,7 @@
  		REJECT_PEER_NAME(state, (TEMP_AI_ERROR(aierr) ?
  			    SMTPD_PEER_CODE_TEMP : SMTPD_PEER_CODE_FORGED));
  	    } else {
-@@ -323,6 +331,20 @@
+@@ -323,6 +332,20 @@
  		freeaddrinfo(res0);
  	    }
  	}
@@ -323,7 +324,7 @@
      }
  
      /*
-@@ -337,6 +359,7 @@
+@@ -337,6 +360,7 @@
  	state->addr_family = AF_UNSPEC;
  	state->name_status = SMTPD_PEER_CODE_OK;
  	state->reverse_name_status = SMTPD_PEER_CODE_OK;
@@ -331,7 +332,7 @@
      }
  
      /*
-@@ -355,4 +378,5 @@
+@@ -355,4 +379,5 @@
      myfree(state->addr);
      myfree(state->namaddr);
      myfree(state->rfc_addr);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/postfix-ident.patch?r1=1.2.2.3&r2=1.2.2.4&f=u



More information about the pld-cvs-commit mailing list