Skip to content

Commit

Permalink
Remove old comments in sendto_kdc.c
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
frozencemetery authored and greghudson committed Jul 30, 2013
1 parent ee22253 commit c28d249
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/lib/krb5/os/sendto_kdc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit c28d249

Please sign in to comment.