From c7c7fed3d51f58c69204005619e14a71f6d77ddb Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 13 Jul 2007 19:57:01 +0000 Subject: [PATCH] fixed a bug where failed TConnects would have no error message --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401106 --- core/smn_database.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/smn_database.cpp b/core/smn_database.cpp index b10025ef..e2aec2bb 100644 --- a/core/smn_database.cpp +++ b/core/smn_database.cpp @@ -256,7 +256,7 @@ public: m_pFunction->PushCell(m_pDriver->GetHandle()); m_pFunction->PushCell(hndl); - m_pFunction->PushString(hndl == BAD_HANDLE ? "" : error); + m_pFunction->PushString(hndl == BAD_HANDLE ? error : ""); m_pFunction->PushCell(0); m_pFunction->Execute(NULL); delete this;