summaryrefslogtreecommitdiff
path: root/radix.c
diff options
context:
space:
mode:
authorMarkus Friedl <mfriedl@gmail.com>2002-04-23 16:35:15 +0200
committerMarkus Friedl <mfriedl@gmail.com>2002-04-23 16:35:15 +0200
commit435673dd20747d849b3de1e8ba2da549ee92be66 (patch)
tree25005f4de39c062352c1ad84f367b1b640a0289a /radix.c
parentf75fcc61f4b87ee6568b720f1eadcd70aa7b2671 (diff)
- markus@openbsd.org 2002/04/23 12:58:26
[radix.c] send complete ticket; semerad@ss1000.ms.mff.cuni.cz
Diffstat (limited to 'radix.c')
-rw-r--r--radix.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/radix.c b/radix.c
index 85ca9c32..019d7a3f 100644
--- a/radix.c
+++ b/radix.c
@@ -26,7 +26,7 @@
#include "includes.h"
#include "uuencode.h"
-RCSID("$OpenBSD: radix.c,v 1.19 2002/04/22 06:15:47 markus Exp $");
+RCSID("$OpenBSD: radix.c,v 1.20 2002/04/23 12:58:26 markus Exp $");
#ifdef AFS
#include <krb.h>
@@ -65,8 +65,7 @@ creds_to_radix(CREDENTIALS *creds, u_char *buf, size_t buflen)
buffer_put_short(&b, creds->kvno);
/* 32 bit size + data */
- buffer_put_string(&b, creds->ticket_st.dat,
- sizeof(creds->ticket_st.length));
+ buffer_put_string(&b, creds->ticket_st.dat, creds->ticket_st.length);
ret = uuencode(buffer_ptr(&b), buffer_len(&b), (char *)buf, buflen);