summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-12 20:07:17 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-12 20:07:17 +0000
commit4409bb7e5a0fa266eac6ba10893c0984631bc6a5 (patch)
tree27d4c3c1195003ea95bf9a88aeb393c9d9e1b783 /src/modules
parent7e31ac35cbf3158d491053ef77679240d7bd5ba9 (diff)
Last cleanup. All trunk extras now builds again.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10532 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_mssql.cpp1
-rw-r--r--src/modules/extra/m_sqlite3.cpp5
2 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/extra/m_mssql.cpp b/src/modules/extra/m_mssql.cpp
index 814f02691..cc907af52 100644
--- a/src/modules/extra/m_mssql.cpp
+++ b/src/modules/extra/m_mssql.cpp
@@ -710,7 +710,6 @@ class ModuleMsSQL : public Module
ClearAllConnections();
ServerInstance->SE->DelFd(listener);
- //listener->Close();
ServerInstance->BufferedSocketCull();
if (QueueFD >= 0)
diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp
index 086e70ac5..5e66ef469 100644
--- a/src/modules/extra/m_sqlite3.cpp
+++ b/src/modules/extra/m_sqlite3.cpp
@@ -298,7 +298,7 @@ class SQLConn : public classbase
/* Total length of the unescaped parameters */
unsigned long paramlen;
- /* Total length of query, used for binary-safety in mysql_real_query */
+ /* Total length of query, used for binary-safety */
unsigned long querylength = 0;
paramlen = 0;
@@ -310,7 +310,7 @@ class SQLConn : public classbase
/* To avoid a lot of allocations, allocate enough memory for the biggest the escaped query could possibly be.
* sizeofquery + (totalparamlength*2) + 1
*
- * The +1 is for null-terminating the string for mysql_real_escape_string
+ * The +1 is for null-terminating the string
*/
query = new char[req.query.q.length() + (paramlen*2) + 1];
queryend = query;
@@ -522,7 +522,6 @@ class ModuleSQLite3 : public Module
ClearAllConnections();
ServerInstance->SE->DelFd(listener);
- //listener->Close();
ServerInstance->BufferedSocketCull();
if (QueueFD >= 0)