From 09d71d6dc7721dbc9c802405407ee9701d306993 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 11 May 2011 13:47:44 +0200 Subject: Correct call arguments to gen_transact(). --- kerberos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kerberos.c b/kerberos.c index a57616a8..bc4b2bb3 100644 --- a/kerberos.c +++ b/kerberos.c @@ -249,7 +249,7 @@ int do_rfc1731(int sock, char *command, char *truename) /* ship down the response, accept the server's error/ok indication */ suppress_tags = TRUE; - result = gen_transact(sock, buf1, strlen(buf1)); + result = gen_transact(sock, "%s", buf1); suppress_tags = FALSE; if (result) return(result); -- cgit v1.2.3