summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-12-16 05:33:11 +0000
committerNick Mathewson <nickm@torproject.org>2003-12-16 05:33:11 +0000
commit7c439c30d00e4851458b66c25a848e27d30c7abe (patch)
tree2332de0114985ff595f7d0e561185ecbc2a314e0 /src/or/directory.c
parenteeae6157ed824dd59c5474b522e1703cb86c230b (diff)
downloadtor-7c439c30d00e4851458b66c25a848e27d30c7abe.tar.gz
tor-7c439c30d00e4851458b66c25a848e27d30c7abe.zip
Resolve format warnings on MacOS X 10.3
svn:r938
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 78e6d4a9f8..30da4dc666 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -85,7 +85,7 @@ static int directory_send_command(connection_t *conn, int command) {
return -1;
}
snprintf(tmp, sizeof(tmp), "POST / HTTP/1.0\r\nContent-Length: %d\r\n\r\n%s",
- strlen(s), s);
+ (int)strlen(s), s);
connection_write_to_buf(tmp, strlen(tmp), conn);
conn->state = DIR_CONN_STATE_CLIENT_SENDING_UPLOAD;
break;