| 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 |
|
|
| 233 |
} |
} |
| 234 |
catch(CException* e) |
catch(CException* e) |
| 235 |
{ |
{ |
| 236 |
syslog << logfile::log_head << "Error in AcceptThread()" << endl; |
char strErrMsg[1024]; |
| 237 |
|
e->GetErrorMessage(strErrMsg,1024); |
| 238 |
|
syslog << logfile::log_head << "Error in AcceptThread() [" << strErrMsg << "]" << endl; |
| 239 |
e->Delete(); |
e->Delete(); |
| 240 |
return -1; |
return -1; |
| 241 |
} |
} |
| 266 |
} |
} |
| 267 |
catch(CException* e) |
catch(CException* e) |
| 268 |
{ |
{ |
| 269 |
syslog << logfile::log_head << "Error in get_priv()" << endl; |
char strErrMsg[1024]; |
| 270 |
|
e->GetErrorMessage(strErrMsg,1024); |
| 271 |
|
syslog << logfile::log_head << "Error in get_priv() [" << strErrMsg << "]" << endl; |
| 272 |
e->Delete(); |
e->Delete(); |
| 273 |
return -1; |
return -1; |
| 274 |
} |
} |
| 320 |
} |
} |
| 321 |
catch(CException* e) |
catch(CException* e) |
| 322 |
{ |
{ |
| 323 |
syslog << logfile::log_head << "Error in load_priv()" << endl; |
char strErrMsg[1024]; |
| 324 |
|
e->GetErrorMessage(strErrMsg,1024); |
| 325 |
|
syslog << logfile::log_head << "Error in load_priv() [" << strErrMsg << "]" << endl; |
| 326 |
e->Delete(); |
e->Delete(); |
| 327 |
return -1; |
return -1; |
| 328 |
} |
} |
| 345 |
} |
} |
| 346 |
catch(CException* e) |
catch(CException* e) |
| 347 |
{ |
{ |
| 348 |
syslog << logfile::log_head << "Error in unload_priv()" << endl; |
char strErrMsg[1024]; |
| 349 |
|
e->GetErrorMessage(strErrMsg,1024); |
| 350 |
|
syslog << logfile::log_head << "Error in unload_priv() [" << strErrMsg << "]" << endl; |
| 351 |
e->Delete(); |
e->Delete(); |
| 352 |
return -1; |
return -1; |
| 353 |
} |
} |