diff options
author | Robbie Harwood (frozencemetery) <rharwood@club.cc.cmu.edu> | 2013-07-22 16:16:35 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2013-07-30 12:42:47 -0400 |
commit | c28d2490a57551a16b6dc81b5b0275432f451d6f (patch) | |
tree | 51c993df75a7da199789b5f460a559a84551552b /src/lib/krb5 | |
parent | ee222531c802531a1ac0a74c933dfdfa48e8ed9e (diff) | |
download | krb5-c28d2490a57551a16b6dc81b5b0275432f451d6f.tar.gz krb5-c28d2490a57551a16b6dc81b5b0275432f451d6f.tar.xz krb5-c28d2490a57551a16b6dc81b5b0275432f451d6f.zip |
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]
Diffstat (limited to 'src/lib/krb5')
-rw-r--r-- | 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 ecea68f005..d7a5346b4d 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); |