diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-29 20:16:09 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-29 20:16:09 +0000 |
commit | 30582573b8a230ecaeb7edd8f9b720ecff598c6f (patch) | |
tree | 4d8bed72965dbad2aad09b125594f904221a758b | |
parent | 9ee32de0a2326956652005b5fa275dfb0dcb51ad (diff) |
Unknown as to if the old code works
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9213 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/extra/m_mysql.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp index bd8b6a57f..1b2a43826 100644 --- a/src/modules/extra/m_mysql.cpp +++ b/src/modules/extra/m_mysql.cpp @@ -742,7 +742,7 @@ class ModuleSQL : public Module rc = pthread_join(Dispatcher, &status); if (rc) { - ServerInstance->Logs->Log("m_mysql",DEFAULT,"SQL: Error code from pthread_join() is " + rc); + ServerInstance->Logs->Log("m_mysql",DEFAULT,"SQL: Error code from pthread_join() is %d", rc); } throw ModuleException("m_mysql: Unable to publish feature 'SQL'"); } @@ -760,7 +760,7 @@ class ModuleSQL : public Module rc = pthread_join(Dispatcher, &status); if (rc) { - ServerInstance->Logs->Log("m_mysql",DEFAULT,"SQL: Error code from pthread_join() is " + rc); + ServerInstance->Logs->Log("m_mysql",DEFAULT,"SQL: Error code from pthread_join() is %d", rc); } ClearAllConnections(); delete Conf; |