summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-11 03:55:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:58 -0500
commit6a4cb0e651bc65d362fefb261ef45062ab4736ef (patch)
treed7a6ce405fd2f02bd6455475423eb64045069193
parent07b0d86121cf78e0f7407364240d8eb76bde8d80 (diff)
downloadsamba-6a4cb0e651bc65d362fefb261ef45062ab4736ef.tar.gz
samba-6a4cb0e651bc65d362fefb261ef45062ab4736ef.tar.bz2
samba-6a4cb0e651bc65d362fefb261ef45062ab4736ef.zip
r7484: the previous bug can also affect the kdc
(This used to be commit ee8bf9db4a619b40ae71b5e97ea7640483587573)
-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 fe028eb607..172d971aa7 100644
--- a/source4/kdc/kdc.c
+++ b/source4/kdc/kdc.c
@@ -148,7 +148,8 @@ static void kdc_socket_handler(struct event_context *ev, struct fd_event *fde,
struct kdc_socket *kdc_socket = talloc_get_type(private, struct kdc_socket);
if (flags & EVENT_FD_WRITE) {
kdc_send_handler(kdc_socket);
- } else if (flags & EVENT_FD_READ) {
+ }
+ if (flags & EVENT_FD_READ) {
kdc_recv_handler(kdc_socket);
}
}