kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 9427ed8a2e7fa568466b6269890f3d68f29d9eb0
parent 442bdef79b67965d2e563037d88dcecabe4c5264
Author: Joris Vink <joris@coders.se>
Date:   Sun,  7 Oct 2018 21:03:12 +0200

rename unix to sun

Diffstat:
include/kore/kore.h | 2+-
src/connection.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/kore/kore.h b/include/kore/kore.h @@ -219,7 +219,7 @@ struct connection { union { struct sockaddr_in ipv4; struct sockaddr_in6 ipv6; - struct sockaddr_un unix; + struct sockaddr_un sun; } addr; struct { diff --git a/src/connection.c b/src/connection.c @@ -115,7 +115,7 @@ kore_connection_accept(struct listener *listener, struct connection **out) break; case AF_UNIX: len = sizeof(struct sockaddr_un); - s = (struct sockaddr *)&(c->addr.unix); + s = (struct sockaddr *)&(c->addr.sun); break; default: fatal("unknown family type %d", c->family);