Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154163240
D2683.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
724 B
Referenced Files
None
Subscribers
None
D2683.diff
View Options
Index: head/lib/libfetch/http.c
===================================================================
--- head/lib/libfetch/http.c
+++ head/lib/libfetch/http.c
@@ -1330,7 +1330,6 @@
http_authorize(conn_t *conn, const char *hdr, http_auth_challenges_t *cs,
http_auth_params_t *parms, struct url *url)
{
- http_auth_challenge_t *basic = NULL;
http_auth_challenge_t *digest = NULL;
int i;
@@ -1340,10 +1339,8 @@
return (-1);
}
- /* Look for a Digest and a Basic challenge */
+ /* Look for a Digest */
for (i = 0; i < cs->count; i++) {
- if (cs->challenges[i]->scheme == HTTPAS_BASIC)
- basic = cs->challenges[i];
if (cs->challenges[i]->scheme == HTTPAS_DIGEST)
digest = cs->challenges[i];
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 27, 5:45 PM (12 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32233996
Default Alt Text
D2683.diff (724 B)
Attached To
Mode
D2683: Removed unused variable reported by CLANG.
Attached
Detach File
Event Timeline
Log In to Comment