summaryrefslogtreecommitdiff
path: root/lib/message.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2013-01-28 16:22:14 +0100
committerLinus Nordberg <linus@nordberg.se>2013-01-28 16:38:16 +0100
commita1194bbbb0a4b1b612c3edec02a6097d1adaba3c (patch)
treee7a7ddf4257949a8e29c93308dea8d705721c3c3 /lib/message.c
parentc951e5e0d3c842bcaf069fdea52bbded878fcc34 (diff)
Remove dead code.libradsec-user-dispatch
Diffstat (limited to 'lib/message.c')
-rw-r--r--lib/message.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/message.c b/lib/message.c
index bdefed3..7ded6e7 100644
--- a/lib/message.c
+++ b/lib/message.c
@@ -137,16 +137,6 @@ rs_message_create (struct rs_connection *conn, struct rs_message **msg_out)
if (rpkt == NULL)
return rs_err_conn_push (conn, RSE_NOMEM, __func__);
- /*
- * This doesn't make sense; the packet identifier is constant for
- * an entire conversation. A separate API should be provided to
- * allow the application to set the packet ID, or a conversation
- * object should group related packets together.
- */
-#if 0
- rpkt->id = conn->nextid++
-#endif
-
err = nr_packet_init (rpkt, NULL, NULL,
PW_ACCESS_REQUEST,
rpkt + 1, RS_MAX_PACKET_LEN);