Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Feb 17, 2015
1 parent e23d017 commit 57e0f17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/bsock.c
Expand Up @@ -718,8 +718,9 @@ bool BSOCK::set_buffer_size(uint32_t size, int rw)

#if defined(IP_TOS) && defined(IPTOS_THROUGHPUT)
int opt;

opt = IPTOS_THROUGHPUT;
setsockopt(fd, IPPROTO_IP, IP_TOS, (sockopt_val_t)&opt, sizeof(opt));
setsockopt(m_fd, IPPROTO_IP, IP_TOS, (sockopt_val_t)&opt, sizeof(opt));
#endif

if (size != 0) {
Expand Down

0 comments on commit 57e0f17

Please sign in to comment.