summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-03-06 03:04:26 +0100
committerlouiz’ <louiz@louiz.org>2017-03-06 03:04:26 +0100
commita1349361d2c15929e8260536c9091f2a4c2048a4 (patch)
treea2eb734566a7ae708a705b071f04cc2f20bb2e0e /src/main.cpp
parentef3c6c28dd1f58ad60928487115a9124ffb99266 (diff)
parent11c63ebceb07d9b65ed16182139477ea79739c12 (diff)
downloadbiboumi-a1349361d2c15929e8260536c9091f2a4c2048a4.tar.gz
biboumi-a1349361d2c15929e8260536c9091f2a4c2048a4.tar.bz2
biboumi-a1349361d2c15929e8260536c9091f2a4c2048a4.tar.xz
biboumi-a1349361d2c15929e8260536c9091f2a4c2048a4.zip
Merge branch 'master' into debian
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index bc8e779..76ab5d9 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -196,7 +196,12 @@ int main(int ac, char** av)
}
}
else
- identd.shutdown();
+ {
+#ifdef UDNS_FOUND
+ dns_handler.destroy();
+#endif
+ identd.shutdown();
+ }
}
// If the only existing connection is the one to the XMPP component:
// close the XMPP stream.