author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Wed, 23 Jan 2008 19:54:10 +0000 (20:54 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Wed, 23 Jan 2008 19:54:10 +0000 (20:54 +0100) |
1 | 2 | |||
---|---|---|---|---|
src/network.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc src/network.c
index f323e9f1208f9fb58c2c7491aa6d1deedf1ea90f,17038a45a0a9e09416b0ce5d28f43bafd005469e..34cf0181eb7428b1816b7400375f7448e6b7067c
--- 1/src/network.c
--- 2/src/network.c
+++ b/src/network.c
/* setup socket(s) and so on */
if (sending_sockets != NULL)
+ {
plugin_register_write ("network", network_write);
+ plugin_register_notification ("network", network_notification);
+ }
- if ((listen_sockets_num != 0) && (listen_thread == 0))
+ if ((listen_sockets_num != 0) && (receive_thread_id == 0))
{
int status;