1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

send port info

This commit is contained in:
Mitchell Livingston 2007-04-22 15:05:14 +00:00
parent 16aad395e2
commit 8fdce9f5a7

View file

@ -448,10 +448,10 @@ tr_httpClient( int method, const char * host, int port, const char * fmt, ... )
va_end( ap1 );
if( tr_sprintf( EXPANDBUF( http->header ), " HTTP/1.1" CR LF
"Host: %s" CR LF
"Host: %s:%d" CR LF
"User-Agent: %s/%d.%d%d" CR LF
"Connection: close" CR LF,
http->host, TR_NAME, VERSION_MAJOR, VERSION_MINOR, VERSION_MAINTENANCE ) )
http->host, http->port, TR_NAME, VERSION_MAJOR, VERSION_MINOR, VERSION_MAINTENANCE ) )
{
goto err;
}