aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tcp_server.c
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-06-30 01:23:18 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-06-30 01:23:18 +0200
commit4df55b356d79e0c5da4688867d741127b234da6a (patch)
tree4a7a744a12274f24ec27c3f250e47158bab609c7 /src/tcp_server.c
parentuse __WNOTHREAD w/ waitpid (diff)
downloadcimple-4df55b356d79e0c5da4688867d741127b234da6a.tar.gz
cimple-4df55b356d79e0c5da4688867d741127b234da6a.zip
fix function names in error messages
Diffstat (limited to 'src/tcp_server.c')
-rw-r--r--src/tcp_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcp_server.c b/src/tcp_server.c
index d763a53..fe55e4f 100644
--- a/src/tcp_server.c
+++ b/src/tcp_server.c
@@ -30,7 +30,7 @@ int tcp_server_create(struct tcp_server **_server, const char *port,
struct tcp_server *server = calloc(1, sizeof(struct tcp_server));
if (!server) {
- log_errno("malloc");
+ log_errno("calloc");
return -1;
}