[27876] in CVS-changelog-for-Kerberos-V5

home help back first fref pref prev next nref lref last post

krb5 commit: Remove old comments in sendto_kdc.c

daemon@ATHENA.MIT.EDU (Greg Hudson)
Tue Jul 30 12:47:57 2013

Date: Tue, 30 Jul 2013 12:47:16 -0400
From: Greg Hudson <ghudson@mit.edu>
Message-Id: <201307301647.r6UGlGV1030665@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu

https://github.com/krb5/krb5/commit/c28d2490a57551a16b6dc81b5b0275432f451d6f
commit c28d2490a57551a16b6dc81b5b0275432f451d6f
Author: Robbie Harwood (frozencemetery) <rharwood@club.cc.cmu.edu>
Date:   Mon Jul 22 16:16:35 2013 -0400

    Remove old comments in sendto_kdc.c
    
    The commented code in question is present in set_conn_state_msg_length
    which is called immediately after the comments.
    
    [ghudson@mit.edu: clarified commit message]

 src/lib/krb5/os/sendto_kdc.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/src/lib/krb5/os/sendto_kdc.c b/src/lib/krb5/os/sendto_kdc.c
index ecea68f..d7a5346 100644
--- a/src/lib/krb5/os/sendto_kdc.c
+++ b/src/lib/krb5/os/sendto_kdc.c
@@ -465,21 +465,9 @@ add_connection(struct conn_state **conns, struct addrinfo *ai,
     state->server_index = server_index;
     SG_SET(&state->x.out.sgbuf[1], 0, 0);
     if (ai->ai_socktype == SOCK_STREAM) {
-        /*
-          SG_SET(&state->x.out.sgbuf[0], message_len_buf, 4);
-          SG_SET(&state->x.out.sgbuf[1], message->data, message->length);
-          state->x.out.sg_count = 2;
-        */
-
         state->service = service_tcp_fd;
         set_conn_state_msg_length (state, message);
     } else {
-        /*
-          SG_SET(&state->x.out.sgbuf[0], message->data, message->length);
-          SG_SET(&state->x.out.sgbuf[1], 0, 0);
-          state->x.out.sg_count = 1;
-        */
-
         state->service = service_udp_fd;
         set_conn_state_msg_length (state, message);
 
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5

home help back first fref pref prev next nref lref last post