summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.c b/main.c
index 6aff2de..a5401b5 100644
--- a/main.c
+++ b/main.c
@@ -45,7 +45,6 @@ void *client_loop(void *ign) {
pthread_mutex_lock(&send_lock);
listen(client_listen_fd, 0);
client_connected = 0;
- client_nick.data = malloc(0);
while (1) {
char data[512];
pthread_mutex_unlock(&send_lock); // TODO: proper locking, this works for now but is certainly inefficient