summaryrefslogtreecommitdiff
path: root/lib/krb5.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-04-25 23:02:27 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-04-26 08:04:52 +0200
commit994af2a1e9893cbd905a9600334e3ceb55020342 (patch)
tree612c391da0deed76123598ba9b280210bd534462 /lib/krb5.c
parent9f71cc293feced65a062e7f408c8a49435f41f79 (diff)
downloadcurl-994af2a1e9893cbd905a9600334e3ceb55020342.tar.gz
krb5: don't use 'static' to store PBSZ size response
... because it makes the knowledge and usage cross-transfer in funny and unexpected ways. Reported-by: Harry Sintonen Closes #6963
Diffstat (limited to 'lib/krb5.c')
-rw-r--r--lib/krb5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/krb5.c b/lib/krb5.c
index 4a9d40e9f..fe07d5267 100644
--- a/lib/krb5.c
+++ b/lib/krb5.c
@@ -748,7 +748,7 @@ static int sec_set_protection_level(struct Curl_easy *data)
if(level) {
char *pbsz;
- static unsigned int buffer_size = 1 << 20; /* 1048576 */
+ unsigned int buffer_size = 1 << 20; /* 1048576 */
code = ftp_send_command(data, "PBSZ %u", buffer_size);
if(code < 0)