summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a5322d6)
raw | patch | inline | side by side (parent: a5322d6)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 12 Oct 2007 16:20:25 +0000 (18:20 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 12 Oct 2007 16:20:25 +0000 (18:20 +0200) |
src/network.c | patch | blob | history |
diff --git a/src/network.c b/src/network.c
index 84e77733da9e830e3aabda39171fdcec75194ba2..5ae36c10bb5edef934b936c75c95f8c2c860168c 100644 (file)
--- a/src/network.c
+++ b/src/network.c
static int network_shutdown (void)
{
- DEBUG ("Shutting down.");
-
listen_loop++;
if (listen_thread != (pthread_t) 0)
listen_thread = (pthread_t) 0;
}
- listen_thread = 0;
+ if (send_buffer_fill > 0)
+ flush_buffer ();
if (cache_tree != NULL)
{