diff options
author | Test_User <hax@andrewyu.org> | 2023-11-26 02:19:27 -0500 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2023-11-26 02:19:27 -0500 |
commit | 16049194444f9acc27b9ed6b8de6b39651c5a8fd (patch) | |
tree | 968f2a253b8093b454f58a5491a62e2515161941 /main.c | |
parent | f79a5dbfbadf78baf5683eede02a8454e403f58e (diff) | |
download | c_coupserv-16049194444f9acc27b9ed6b8de6b39651c5a8fd.tar.gz c_coupserv-16049194444f9acc27b9ed6b8de6b39651c5a8fd.zip |
Fix memory errors, disable spam command
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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 |