fixed a bug where failed TConnects would have no error message

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401106
This commit is contained in:
David Anderson 2007-07-13 19:57:01 +00:00
parent 560ff04a4d
commit c7c7fed3d5

View File

@ -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;