--- innwebd/innd.cpp 2004/07/04 08:04:08 1.7 +++ innwebd/innd.cpp 2004/08/02 19:49:10 1.10 @@ -156,8 +156,8 @@ int innd::cmd_list(void) sql = "select * from innd_conf order by `group`"; - RS.Open(CRecordset::snapshot,sql,CRecordst::forwardOnly | CRecordset::readOnly); - while(!RS.IsEEOF()) + RS.Open(CRecordset::snapshot,sql,CRecordset::forwardOnly | CRecordset::readOnly); + while(!RS.IsEOF()) { RS.GetFieldValue("group",dbVar,SQL_C_CHAR); group = *(dbVar.m_pstring); @@ -355,8 +355,8 @@ int innd::cmd_ihave(const char* msg_id) } catch(CException* e) { - char strErrMsg[256]; - e->GetErrorMessage(strErrMsg,256); + char strErrMsg[1024]; + e->GetErrorMessage(strErrMsg,1024); syslog << logfile::log_head << "Error in cmd_ihave() [" << strErrMsg << "]" << endl; e->Delete(); return -1;