]> Pileus Git - ~andy/fetchmail/commitdiff
Correct call arguments to gen_transact().
authorMatthias Andree <matthias.andree@gmx.de>
Wed, 11 May 2011 11:47:44 +0000 (13:47 +0200)
committerMatthias Andree <matthias.andree@gmx.de>
Wed, 11 May 2011 11:47:44 +0000 (13:47 +0200)
kerberos.c

index a57616a8c72b245af888f6c967df8b80a7ba3bee..bc4b2bb3f20d91d92a1cf4cdb954eaca68da5dd7 100644 (file)
@@ -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);