[libsoup/wip/tpopela/negotiate] Use the SOUP_STATUS_UNAUTHORIZED status instead of the SOUP_STATUS_GSSAPI_FAILED one
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/tpopela/negotiate] Use the SOUP_STATUS_UNAUTHORIZED status instead of the SOUP_STATUS_GSSAPI_FAILED one
- Date: Mon, 8 Feb 2016 15:33:59 +0000 (UTC)
commit 48855c2f61d414c89fb51cd40153427693a01690
Author: Tomas Popela <tpopela redhat com>
Date: Mon Feb 8 16:30:26 2016 +0100
Use the SOUP_STATUS_UNAUTHORIZED status instead of the SOUP_STATUS_GSSAPI_FAILED one
And remove the SOUP_STATUS_GSSAPI_FAILED status that is now unused.
libsoup/soup-auth-negotiate.c | 2 +-
libsoup/soup-status.h | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libsoup/soup-auth-negotiate.c b/libsoup/soup-auth-negotiate.c
index 4a27542..371cff0 100644
--- a/libsoup/soup-auth-negotiate.c
+++ b/libsoup/soup-auth-negotiate.c
@@ -446,7 +446,7 @@ soup_gss_error (OM_uint32 err_maj, OM_uint32 err_min, GError **err)
if (err && *err == NULL) {
g_set_error (err,
SOUP_HTTP_ERROR,
- SOUP_STATUS_GSSAPI_FAILED,
+ SOUP_STATUS_UNAUTHORIZED,
"%s %s",
buf_maj,
buf_min ? buf_min : "");
diff --git a/libsoup/soup-status.h b/libsoup/soup-status.h
index 70a9864..fb4147c 100644
--- a/libsoup/soup-status.h
+++ b/libsoup/soup-status.h
@@ -34,7 +34,6 @@ typedef enum {
SOUP_STATUS_TRY_AGAIN,
SOUP_STATUS_TOO_MANY_REDIRECTS,
SOUP_STATUS_TLS_FAILED,
- SOUP_STATUS_GSSAPI_FAILED,
/* HTTP Status Codes */
SOUP_STATUS_CONTINUE = 100,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]