Mercurial > dropbear
comparison dbutil.c @ 1018:cb148f8d3d22
Make it compile
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 13 Feb 2015 23:13:58 +0800 |
parents | 257f7d5fca97 |
children | 24135c8e1d46 |
comparison
equal
deleted
inserted
replaced
1016:257f7d5fca97 | 1018:cb148f8d3d22 |
---|---|
409 int val = 1; | 409 int val = 1; |
410 /* No error checking, this is opportunistic */ | 410 /* No error checking, this is opportunistic */ |
411 int err = setsockopt(sock, IPPROTO_TCP, TCP_DEFER_ACCEPT, (void*)&val, sizeof(val)); | 411 int err = setsockopt(sock, IPPROTO_TCP, TCP_DEFER_ACCEPT, (void*)&val, sizeof(val)); |
412 if (err) | 412 if (err) |
413 { | 413 { |
414 DEBUG_TRACE(("Failed setsockopt TCP_DEFER_ACCEPT: %s", strerror(errno))) | 414 TRACE(("Failed setsockopt TCP_DEFER_ACCEPT: %s", strerror(errno))) |
415 } | 415 } |
416 } | 416 } |
417 #endif | 417 #endif |
418 | 418 |
419 | 419 |