summaryrefslogtreecommitdiff
path: root/lib/security.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-10-08 12:25:07 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-10-08 12:25:07 +0200
commitb90f6e87cf2acd1f4e1516a220ad1e23f826f788 (patch)
tree5d198523d32c9c9b4d5d8c318676b113423b84b4 /lib/security.c
parent987a4a7367ac8df32628ba738342e2206582f1e7 (diff)
downloadcurl-b90f6e87cf2acd1f4e1516a220ad1e23f826f788.tar.gz
krb5_encode: remove unused argument
Coverity CID 1241957. Removed the unused argument. As this struct and pointer now are used only for krb5, there's no need to keep unused function arguments around.
Diffstat (limited to 'lib/security.c')
-rw-r--r--lib/security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/security.c b/lib/security.c
index ca17c5641..25cfa2170 100644
--- a/lib/security.c
+++ b/lib/security.c
@@ -295,7 +295,7 @@ static void do_sec_send(struct connectdata *conn, curl_socket_t fd,
prot_level = conn->command_prot;
}
bytes = conn->mech->encode(conn->app_data, from, length, prot_level,
- (void**)&buffer, conn);
+ (void**)&buffer);
if(!buffer || bytes <= 0)
return; /* error */