From 6b28a07e6bba885b3f33e7b81d3e76544f18ce07 Mon Sep 17 00:00:00 2001 From: Timo Dritschler Date: Mon, 28 Apr 2014 19:24:44 +0200 Subject: Added new function 'kiro_trb_dma_push' that allows the user to directly write a new element into the buffers memory Changed the name of 'kiro_trb_ingest' to 'kiro_trb_adopt' Added new function 'kiro_trb_clone' that copies the pointed memory before 'adopting' it. Started to add documentation --- kiro-server.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kiro-server.c') diff --git a/kiro-server.c b/kiro-server.c index d4cf7bc..1ed47f8 100644 --- a/kiro-server.c +++ b/kiro-server.c @@ -136,6 +136,9 @@ int kiro_server_start (KiroServer *self, char *address, char *port) } printf("Enpoint listening.\n"); + + // ---> *SNIP* + priv->client = (struct kiro_connection *)calloc(1, sizeof(struct kiro_connection)); if(!priv->client) { -- cgit v1.2.3