summaryrefslogtreecommitdiff
path: root/chat/jabberd2/patches/patch-ah
blob: 3280210977a4e0064a95d61d4361ab77e6a2fb73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-ah,v 1.5 2010/04/15 07:02:51 adam Exp $

--- router/main.c.orig	2010-02-24 08:41:41.000000000 +0000
+++ router/main.c
@@ -479,6 +479,7 @@ JABBER_MAIN("jabberd2router", "Jabber 2 
         do {
             xhash_iter_get(r->components, NULL, xhv.val);
             sx_close(comp->s);
+            mio_run(r->mio, 5);
         } while(xhash_count(r->components) > 0);
 
     xhash_free(r->components);