diff options
author | Darren Tucker <dtucker@zip.com.au> | 2010-11-24 10:46:37 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2010-11-24 10:46:37 +1100 |
commit | 4b6cbf7aabbcbe170a69e9780e7c4ec06a3224e0 (patch) | |
tree | 45cc19e393a19363ce193f2ea6fabcbf05469ab9 | |
parent | 88e341e1ca9502403242a275941b11e509f669fb (diff) |
- (dtucker) [packet.c] Remove redundant local declaration of "int tos".
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | packet.c | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -3,6 +3,7 @@ | |||
3 | into the platform-specific code Only affects SCO, tested by and ok tim@. | 3 | into the platform-specific code Only affects SCO, tested by and ok tim@. |
4 | - (djm) [loginrec.c] Relax permission requirement on btmp logs to allow | 4 | - (djm) [loginrec.c] Relax permission requirement on btmp logs to allow |
5 | group read/write. ok dtucker@ | 5 | group read/write. ok dtucker@ |
6 | - (dtucker) [packet.c] Remove redundant local declaration of "int tos". | ||
6 | 7 | ||
7 | 20101122 | 8 | 20101122 |
8 | - (dtucker) Bug #1840: fix warning when configuring --with-ssl-engine, patch | 9 | - (dtucker) Bug #1840: fix warning when configuring --with-ssl-engine, patch |
@@ -1753,8 +1753,6 @@ static void | |||
1753 | packet_set_tos(int tos) | 1753 | packet_set_tos(int tos) |
1754 | { | 1754 | { |
1755 | #if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN) | 1755 | #if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN) |
1756 | int tos = interactive ? IPTOS_LOWDELAY : IPTOS_THROUGHPUT; | ||
1757 | |||
1758 | if (!packet_connection_is_on_socket() || | 1756 | if (!packet_connection_is_on_socket() || |
1759 | !packet_connection_is_ipv4()) | 1757 | !packet_connection_is_ipv4()) |
1760 | return; | 1758 | return; |