1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

Enrico Scholz fixed the service name to be uppercase as reported in bug

report #1004105
This commit is contained in:
Daniel Stenberg 2004-08-05 18:52:54 +00:00
parent 6b5a04cf83
commit 9c4ffcc250

View File

@ -66,9 +66,9 @@ get_gss_name(struct connectdata *conn, gss_name_t *server)
/* IIS uses the <service>@<fqdn> form but uses 'http' as the service name */ /* IIS uses the <service>@<fqdn> form but uses 'http' as the service name */
if (neg_ctx->gss) if (neg_ctx->gss)
service = "khttp"; service = "KHTTP";
else else
service = "http"; service = "HTTP";
token.length = strlen(service) + 1 + strlen(conn->host.name) + 1; token.length = strlen(service) + 1 + strlen(conn->host.name) + 1;
if (token.length + 1 > sizeof(name)) if (token.length + 1 > sizeof(name))