summaryrefslogtreecommitdiff
path: root/source4/kdc/kdc.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-14 03:45:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:17 -0500
commit614950aed35353854019db5cccec5b3154643ca3 (patch)
tree6322c8d22dc2da4fad46976651ed208b131911b3 /source4/kdc/kdc.c
parent763d862fee5c8d73088e93da0c5a2857eb77afc3 (diff)
downloadsamba-614950aed35353854019db5cccec5b3154643ca3.tar.gz
samba-614950aed35353854019db5cccec5b3154643ca3.tar.bz2
samba-614950aed35353854019db5cccec5b3154643ca3.zip
r11713: separate out the setting of the fde in the packet context from the
enabling of packet serialisation (This used to be commit 6a47cd65a8b588f9ddd375c57caaba08281e7cbb)
Diffstat (limited to 'source4/kdc/kdc.c')
-rw-r--r--source4/kdc/kdc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c
index e633b5baa7..4e7865b5f9 100644
--- a/source4/kdc/kdc.c
+++ b/source4/kdc/kdc.c
@@ -360,7 +360,8 @@ static void kdc_tcp_accept(struct stream_connection *conn)
packet_set_full_request(kdcconn->packet, packet_full_request_u32);
packet_set_error_handler(kdcconn->packet, kdc_tcp_recv_error);
packet_set_event_context(kdcconn->packet, conn->event.ctx);
- packet_set_serialise(kdcconn->packet, conn->event.fde);
+ packet_set_fde(kdcconn->packet, conn->event.fde);
+ packet_set_serialise(kdcconn->packet);
}
static const struct stream_server_ops kdc_tcp_stream_ops = {