mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
Fix warning
svn:r1409
This commit is contained in:
parent
b4a61d1ab1
commit
157cd7fe15
@ -322,7 +322,7 @@ static int directory_handle_command_get(connection_t *conn,
|
||||
|
||||
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",
|
||||
dlen, cp);
|
||||
(int)dlen, cp);
|
||||
connection_write_to_buf(tmp, strlen(tmp), conn);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user