]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Remove old comments in sendto_kdc.c
authorRobbie Harwood (frozencemetery) <rharwood@club.cc.cmu.edu>
Mon, 22 Jul 2013 20:16:35 +0000 (16:16 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 30 Jul 2013 16:42:47 +0000 (12:42 -0400)
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

index ecea68f005dbb1026338c2c1ae44b5d56516f184..d7a5346b4d07971fd63265d5119190034dd54142 100644 (file)
@@ -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);