summaryrefslogtreecommitdiff
path: root/toxcore/TCP_server.h
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2017-06-04 12:59:34 +0000
committeriphydf <iphydf@users.noreply.github.com>2017-06-04 17:48:23 +0000
commit1e8fa85aadf602bdca3a540de09a8184f7139a6c (patch)
tree4caab80957f7f9a2098fb97e776be763defc44ab /toxcore/TCP_server.h
parent03f99bde2ecee3722d47a5b6a1031fc88e7210b7 (diff)
Add a monolith_test that includes all toxcore sources.
This requires that every symbol, even if static (file-scope), is unique. The idea is that we can easily run "whole" program static analysis on programs that include monolith.h ("whole" is in quotes, as we don't include dependencies like libsodium in this static analysis).
Diffstat (limited to 'toxcore/TCP_server.h')
-rw-r--r--toxcore/TCP_server.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/TCP_server.h b/toxcore/TCP_server.h
index 7c1db65e..ddb204c2 100644
--- a/toxcore/TCP_server.h
+++ b/toxcore/TCP_server.h
@@ -36,9 +36,9 @@
36#define MSG_NOSIGNAL 0 36#define MSG_NOSIGNAL 0
37#endif 37#endif
38 38
39#define MAX_INCOMMING_CONNECTIONS 256 39#define MAX_INCOMING_CONNECTIONS 256
40 40
41#define TCP_MAX_BACKLOG MAX_INCOMMING_CONNECTIONS 41#define TCP_MAX_BACKLOG MAX_INCOMING_CONNECTIONS
42 42
43#define MAX_PACKET_SIZE 2048 43#define MAX_PACKET_SIZE 2048
44 44