| 1 |
/*******************************************************/ |
/*******************************************************/ |
| 2 |
/* */ |
/* */ |
| 3 |
/* LeafOK Innbbsd */ |
/* LeafOK Innbbsd */ |
|
/* Copyright (C) LeafOK.com, 2003-2005 */ |
|
| 4 |
/* */ |
/* */ |
| 5 |
/* Programmed by Leaf */ |
/* Copyright (C) LeafOK.com, 2003-2008 */ |
|
/* E-mail:leaflet@leafok.com QQ:6049044 */ |
|
| 6 |
/* */ |
/* */ |
| 7 |
/* http://bbs.leafok.com */ |
/* http://www.leafok.com */ |
|
/* http://bbs.leafok.net */ |
|
|
/* http://bbs.fenglin.info */ |
|
| 8 |
/* */ |
/* */ |
| 9 |
/*******************************************************/ |
/*******************************************************/ |
| 10 |
|
|
| 231 |
} |
} |
| 232 |
catch(CException* e) |
catch(CException* e) |
| 233 |
{ |
{ |
| 234 |
syslog << logfile::log_head << "Error in accept()" << endl; |
char strErrMsg[1024]; |
| 235 |
|
e->GetErrorMessage(strErrMsg,1024); |
| 236 |
|
syslog << logfile::log_head << "Error in accept() [" << strErrMsg << "]" << endl; |
| 237 |
e->Delete(); |
e->Delete(); |
| 238 |
return -1; |
return -1; |
| 239 |
} |
} |
| 374 |
} |
} |
| 375 |
catch(CException* e) |
catch(CException* e) |
| 376 |
{ |
{ |
| 377 |
syslog << logfile::log_head << "Load configuration failed" << endl; |
char strErrMsg[1024]; |
| 378 |
|
e->GetErrorMessage(strErrMsg,1024); |
| 379 |
|
syslog << logfile::log_head << "Load configuration failed [" << strErrMsg << "]" << endl; |
| 380 |
e->Delete(); |
e->Delete(); |
| 381 |
return -1; |
return -1; |
| 382 |
} |
} |