summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-01-08 11:45:59 +0100
committerStefan Metzmacher <metze@samba.org>2010-01-08 14:36:49 +0100
commitd97562b382a1e770310f1417992dff417a585e16 (patch)
treeb3da3c8510a705146862a6a93c319349049acd31 /source4/kdc
parentbbaec01b3720fafada13a7143d698f8cd7c0af37 (diff)
downloadsamba-d97562b382a1e770310f1417992dff417a585e16.tar.gz
samba-d97562b382a1e770310f1417992dff417a585e16.tar.bz2
samba-d97562b382a1e770310f1417992dff417a585e16.zip
s4:kdc: the ->process function returns "bool"
metze
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/kdc.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c
index 93f1c7d6ec..eb4144eca4 100644
--- a/source4/kdc/kdc.c
+++ b/source4/kdc/kdc.c
@@ -276,7 +276,7 @@ static void kdc_udp_call_loop(struct tevent_req *subreq)
uint8_t *buf;
ssize_t len;
int sys_errno;
- int ret;
+ bool ok;
call = talloc(sock, struct kdc_udp_call);
if (call == NULL) {
@@ -300,14 +300,14 @@ static void kdc_udp_call_loop(struct tevent_req *subreq)
tsocket_address_string(call->src, call)));
/* Call krb5 */
- ret = sock->kdc_socket->process(sock->kdc_socket->kdc,
- call,
- &call->in,
- &call->out,
- call->src,
- sock->kdc_socket->local_address,
- 1 /* Datagram */);
- if (!ret) {
+ ok = sock->kdc_socket->process(sock->kdc_socket->kdc,
+ call,
+ &call->in,
+ &call->out,
+ call->src,
+ sock->kdc_socket->local_address,
+ 1 /* Datagram */);
+ if (!ok) {
talloc_free(call);
goto done;
}