summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/controller.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-02-17 15:51:49 +0100
committerSlávek Banko <[email protected]>2019-02-17 15:51:49 +0100
commit95285a6e5630a0a02a2cc6fe9feb49e71038bed7 (patch)
tree9aad06d3f0cdd88046bfaba012375d1102495798 /ksirc/puke/controller.cpp
parent53aff5055e6f6d86eebbcb6752398f7e3ca8921e (diff)
downloadtdenetwork-95285a6e5630a0a02a2cc6fe9feb49e71038bed7.tar.gz
tdenetwork-95285a6e5630a0a02a2cc6fe9feb49e71038bed7.zip
Use socklen_t directly, instead of deprecated ksize_t.
This resolves FTBFS on FreeBSD 12. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'ksirc/puke/controller.cpp')
-rw-r--r--ksirc/puke/controller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksirc/puke/controller.cpp b/ksirc/puke/controller.cpp
index bbcf6de6..06d290fb 100644
--- a/ksirc/puke/controller.cpp
+++ b/ksirc/puke/controller.cpp
@@ -162,7 +162,7 @@ TQStrList PukeController::allObjects()
void PukeController::NewConnect(int)
{
int cfd;
- ksize_t len = 0;
+ socklen_t len = 0;
struct sockaddr_un unix_addr;
cfd = accept(iListenFd, (struct sockaddr *)&unix_addr, &len);