summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 06c09fe)
raw | patch | inline | side by side (parent: 06c09fe)
author | Sebastian Harl <sh@tokkee.org> | |
Mon, 31 Mar 2008 09:31:38 +0000 (11:31 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Tue, 1 Apr 2008 13:02:44 +0000 (15:02 +0200) |
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>
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 | patch | blob | history |
diff --git a/src/unixsock.c b/src/unixsock.c
index f8dcc5ba6b5e6c864572101a861cf465ecb8f211..f8c9fbfd579e7013a9d1d700d5a595872b83492c 100644 (file)
--- a/src/unixsock.c
+++ b/src/unixsock.c
}
plugin_unregister_init ("unixsock");
- plugin_unregister_write ("unixsock");
plugin_unregister_shutdown ("unixsock");
return (0);