summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-05-03 09:23:47 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-05-03 09:23:47 +0000
commit7eb84435ee644dc174b7914263c47db51e2e0e7b (patch)
tree4ffe8863021712e635bcde96a27fed64cd3e00c0 /src
parent858cc30b984210a60f2b0650562b424140f83fe8 (diff)
Return false was missing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3928 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/dns.cpp2
-rw-r--r--src/inspircd.cpp28
2 files changed, 15 insertions, 15 deletions
diff --git a/src/dns.cpp b/src/dns.cpp
index 1da703c70..ab244a049 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -748,7 +748,7 @@ bool DNS::ForwardLookupWithFD(const std::string &host, int &fd)
fd = this->myfd;
if (this->myfd == -1)
{
-
+ return false;
}
log(DEBUG,"DNS: ForwardLookupWithFD, fd=%d",this->myfd);
if (ServerInstance && ServerInstance->SE)
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 003ad1203..77c2c72b3 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -1,19 +1,19 @@
-/* +------------------------------------+
- * | Inspire Internet Relay Chat Daemon |
- * +------------------------------------+
+/* ---------------------------------------------------------------------
+ *
+ * +------------------------------------+
+ * | Inspire Internet Relay Chat Daemon |
+ * +------------------------------------+
*
- * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
- * E-mail:
- * <brain@chatspike.net>
- * <Craig@chatspike.net>
+ * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
+ * E-mail:
+ * <brain@chatspike.net>
+ * <Craig@chatspike.net>
*
- * Written by Craig Edwards, Craig McLure, and others.
- * This program is free but copyrighted software; see
- * the file COPYING for details.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 2 (two) ONLY.
+ * Written by Craig Edwards, Craig McLure, and others.
+ * This program is free but copyrighted software; you can redistribute
+ * it and/or modify it under the terms of the GNU General Public
+ * License as published by the Free Software Foundation, version 2
+ * (two) ONLY.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of