libs/neuronet: Fixed a very important bug with disconnection.
commit1c25134b6e4cd8cdda8255d7ee74274d3cb59f4c
authorNicholas Niro <nik_89@xroutine.net>
Sat, 5 Jul 2014 07:08:48 +0000 (5 03:08 -0400)
committerNicholas Niro <nik_89@xroutine.net>
Sat, 5 Jul 2014 07:08:48 +0000 (5 03:08 -0400)
tree5d4199baa1b627178abfee515d80217f605d77e7
parent0bfa49e70bc0411ac9f72324536daf314bb66652
libs/neuronet: Fixed a very important bug with disconnection.

This makes sure that a client is only disconnected once.
Attempting to disconnect a client more than once certainly
leads to a segmentation fault due to memory being freed and
then accessed.
libs/neuronet/master.c
libs/neuronet/master.h
libs/neuronet/server.c