fix ifdef

This commit is contained in:
Love Hörnquist Åstrand
2011-06-19 10:58:50 -07:00
parent 625d29fc3e
commit 09b07e9ef4

View File

@@ -1271,7 +1271,7 @@ dataconn(const char *name, off_t size, const char *mode)
}
close(pdata);
pdata = s;
#if defined(IP_TOS)
#if defined(IPTOS_THROUGHPUT)
if (from->sa_family == AF_INET)
socket_set_tos(s, IPTOS_THROUGHPUT);
#endif