aboutsummaryrefslogtreecommitdiff
path: root/lib/http_negotiate.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-09-02 17:41:20 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-09-02 17:41:20 +0000
commit934708d950617688c7d294ea1ab583667f383ab1 (patch)
tree5a8c9af0c4ae865717caacf14c20c69ad98ab5d0 /lib/http_negotiate.c
parentbbc002a50575f7690fe67e23850e63bc8eb792f1 (diff)
Made some variables const which eliminated some casts
Diffstat (limited to 'lib/http_negotiate.c')
-rw-r--r--lib/http_negotiate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http_negotiate.c b/lib/http_negotiate.c
index 80c00a171..b3099a24a 100644
--- a/lib/http_negotiate.c
+++ b/lib/http_negotiate.c
@@ -101,7 +101,7 @@ get_gss_name(struct connectdata *conn, bool proxy, gss_name_t *server)
}
static void
-log_gss_error(struct connectdata *conn, OM_uint32 error_status, char *prefix)
+log_gss_error(struct connectdata *conn, OM_uint32 error_status, const char *prefix)
{
OM_uint32 maj_stat, min_stat;
OM_uint32 msg_ctx = 0;
@@ -257,7 +257,7 @@ int Curl_input_negotiate(struct connectdata *conn, bool proxy,
if(GSS_ERROR(major_status)) {
/* Curl_cleanup_negotiate(conn->data) ??? */
log_gss_error(conn, minor_status,
- (char *)"gss_init_sec_context() failed: ");
+ "gss_init_sec_context() failed: ");
return -1;
}