unixsock plugin: Make sure the initialization function is run only once.
authorFlorian Forster <octo@noris.net>
Fri, 5 Dec 2008 10:29:54 +0000 (11:29 +0100)
committerFlorian Forster <octo@noris.net>
Fri, 5 Dec 2008 10:29:54 +0000 (11:29 +0100)
commitbc5877df666a8befe63ae4f56fcad849d9c5427a
tree4cf17d83e7725f1bf5daf76781d7263bedf74dda
parent1862f170da675eb9bbf53193b93e3e9cbcb97540
unixsock plugin: Make sure the initialization function is run only once.

If called multiple times, the global `sock_fd' variable will be re-set,
breaking the plugin.
src/unixsock.c