- (dtucker) [packet.c] Remove redundant local declaration of "int tos".
This commit is contained in:
parent
88e341e1ca
commit
4b6cbf7aab
|
@ -3,6 +3,7 @@
|
||||||
into the platform-specific code Only affects SCO, tested by and ok tim@.
|
into the platform-specific code Only affects SCO, tested by and ok tim@.
|
||||||
- (djm) [loginrec.c] Relax permission requirement on btmp logs to allow
|
- (djm) [loginrec.c] Relax permission requirement on btmp logs to allow
|
||||||
group read/write. ok dtucker@
|
group read/write. ok dtucker@
|
||||||
|
- (dtucker) [packet.c] Remove redundant local declaration of "int tos".
|
||||||
|
|
||||||
20101122
|
20101122
|
||||||
- (dtucker) Bug #1840: fix warning when configuring --with-ssl-engine, patch
|
- (dtucker) Bug #1840: fix warning when configuring --with-ssl-engine, patch
|
||||||
|
|
2
packet.c
2
packet.c
|
@ -1753,8 +1753,6 @@ static void
|
||||||
packet_set_tos(int tos)
|
packet_set_tos(int tos)
|
||||||
{
|
{
|
||||||
#if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN)
|
#if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN)
|
||||||
int tos = interactive ? IPTOS_LOWDELAY : IPTOS_THROUGHPUT;
|
|
||||||
|
|
||||||
if (!packet_connection_is_on_socket() ||
|
if (!packet_connection_is_on_socket() ||
|
||||||
!packet_connection_is_ipv4())
|
!packet_connection_is_ipv4())
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue