Code

unixsock plugin: Do not unregister a write-callback in us_shutdown().
authorSebastian Harl <sh@tokkee.org>
Mon, 31 Mar 2008 09:31:38 +0000 (11:31 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Tue, 1 Apr 2008 13:02:44 +0000 (15:02 +0200)
commitcc198156a5fbf657481c29329982adac3878bee4
tree2a104d0a70e348e3597c4f6f91befdaacaef57e5
parent06c09feedb03c7167168a0caacd9afdd5fe4e985
unixsock plugin: Do not unregister a write-callback in us_shutdown().

The unixsock plugin no longer registers a write-callback. Basically,
unregistering a non-existent callback does not do any harm, However, if no
write-callback has been registered at all, the appropriate linked list has
never been created and the process will segfault when trying to access it.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/unixsock.c