diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-06-11 03:55:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:58 -0500 |
commit | 6a4cb0e651bc65d362fefb261ef45062ab4736ef (patch) | |
tree | d7a6ce405fd2f02bd6455475423eb64045069193 /source4 | |
parent | 07b0d86121cf78e0f7407364240d8eb76bde8d80 (diff) | |
download | samba-6a4cb0e651bc65d362fefb261ef45062ab4736ef.tar.gz samba-6a4cb0e651bc65d362fefb261ef45062ab4736ef.tar.xz samba-6a4cb0e651bc65d362fefb261ef45062ab4736ef.zip |
r7484: the previous bug can also affect the kdc
(This used to be commit ee8bf9db4a619b40ae71b5e97ea7640483587573)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/kdc/kdc.c | 3 |
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); } } |