[libsoup/wip/tpopela/negotiate: 60/64] soup-auth-negotiate: Remove the code that is never going to be reached
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/tpopela/negotiate: 60/64] soup-auth-negotiate: Remove the code that is never going to be reached
- Date: Tue, 16 Feb 2016 12:17:06 +0000 (UTC)
commit 16e855b15a6ec6e6c086cbc6cd6ec9dbefed7b0b
Author: Tomas Popela <tpopela redhat com>
Date: Mon Feb 8 16:32:25 2016 +0100
soup-auth-negotiate: Remove the code that is never going to be reached
As per review "This code can't be reached. At this point, header is guaranteed
either to be "Negotiate" or to start with "Negotiate "."
libsoup/soup-auth-negotiate.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libsoup/soup-auth-negotiate.c b/libsoup/soup-auth-negotiate.c
index 371cff0..fe85ac3 100644
--- a/libsoup/soup-auth-negotiate.c
+++ b/libsoup/soup-auth-negotiate.c
@@ -158,9 +158,8 @@ soup_auth_negotiate_update_connection (SoupConnectionAuth *auth, SoupMessage *ms
conn->state = SOUP_NEGOTIATE_RECEIVED_CHALLENGE;
return TRUE;
}
- } else {
- g_warning("Bogus hdr '%s'\n", header);
}
+
g_clear_error (&err);
return FALSE;
#else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]