summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2011-05-20 03:03:46 -0400
committerRoger Dingledine <arma@torproject.org>2011-05-20 03:03:46 -0400
commit0a4649e6576cacc07c215c481fd1c500cd563a3b (patch)
treecc16d185370864236316f3ce9d8db4bc702a3217 /src/or/connection.c
parenteecf8835fd8758a3f7a0837ff6c71d9e65d2dd5d (diff)
parentb8ffb00cf1ddf4ff1b64335f8677d600a948fffc (diff)
downloadtor-0a4649e6576cacc07c215c481fd1c500cd563a3b.tar.gz
tor-0a4649e6576cacc07c215c481fd1c500cd563a3b.zip
Merge branch 'maint-0.2.2'
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 4877a3cbf4..0a5bb8ccdd 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -3646,7 +3646,7 @@ alloc_http_authenticator(const char *authenticator)
tor_free(base64_authenticator); /* free and set to null */
} else {
int i = 0, j = 0;
- int len = strlen(base64_authenticator);
+ ssize_t len = strlen(base64_authenticator);
/* remove all newline occurrences within the string */
for (i=0; i < len; ++i) {