Fix warning

svn:r1409
This commit is contained in:
Nick Mathewson 2004-03-31 20:58:35 +00:00
parent b4a61d1ab1
commit 157cd7fe15

View File

@ -322,7 +322,7 @@ static int directory_handle_command_get(connection_t *conn,
log_fn(LOG_DEBUG,"Dumping directory to client."); log_fn(LOG_DEBUG,"Dumping directory to client.");
snprintf(tmp, sizeof(tmp), "HTTP/1.0 200 OK\r\nContent-Length: %d\r\n\r\n%s", snprintf(tmp, sizeof(tmp), "HTTP/1.0 200 OK\r\nContent-Length: %d\r\n\r\n%s",
dlen, cp); (int)dlen, cp);
connection_write_to_buf(tmp, strlen(tmp), conn); connection_write_to_buf(tmp, strlen(tmp), conn);
return 0; return 0;
} }