aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-12-23 01:28:25 +0000
committerRoger Dingledine <arma@torproject.org>2007-12-23 01:28:25 +0000
commit9dcde682f59f2fbd134550d2bf2cc59cf702cc77 (patch)
treecdd59c2d4ebb2f5d0812b90ac7041d2aa548ba9b /src/or/directory.c
parent61bd5583d9221c387b693a266a80561d76be0484 (diff)
downloadtor-9dcde682f59f2fbd134550d2bf2cc59cf702cc77.tar
tor-9dcde682f59f2fbd134550d2bf2cc59cf702cc77.tar.gz
minor other things in my sandbox
svn:r12934
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 05e155829..9d8371951 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -995,7 +995,7 @@ http_get_header(const char *headers, const char *which)
{
const char *cp = headers;
while (cp) {
- if (!strcmpstart(cp, which)) {
+ if (!strcasecmpstart(cp, which)) {
char *eos;
cp += strlen(which);
if ((eos = strchr(cp,'\r')))
@@ -2600,7 +2600,7 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers,
char *secret;
int r;
- header = http_get_header(headers, "Authorization: basic ");
+ header = http_get_header(headers, "Authorization: Basic ");
if (!header) {
write_http_status_line(conn, 404, "Not found");