Pass context to kdc_log.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2664 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-08-01 14:47:43 +00:00
parent e26572056e
commit 584eb44cb9
5 changed files with 104 additions and 84 deletions

View File

@@ -133,7 +133,7 @@ do_request(krb5_context context, void *buf, size_t len,
reply.length = 0;
ret = process_request(context, buf, len, &reply, addr, from);
if(reply.length){
kdc_log(5, "sending %d bytes to %s", reply.length, addr);
kdc_log(context, 5, "sending %d bytes to %s", reply.length, addr);
sendto(socket, reply.data, reply.length, 0, from, from_len);
krb5_data_free(&reply);
}