ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/compat.C
(Generate patch)

Comparing deliantra/server/common/compat.C (file contents):
Revision 1.6 by root, Fri Mar 26 01:04:43 2010 UTC vs.
Revision 1.7 by root, Sun Apr 4 04:58:46 2010 UTC

69/* 69/*
70 * fatal() is meant to be called whenever a fatal signal is intercepted. 70 * fatal() is meant to be called whenever a fatal signal is intercepted.
71 * It will call the emergency_save and the clean_tmp_files functions. 71 * It will call the emergency_save and the clean_tmp_files functions.
72 */ 72 */
73void 73void
74fatal (int err) 74fatal (const char *msg)
75{ 75{
76 LOG (llevError, "Fatal: %s\n", fatalmsgs [err]); 76 LOG (llevError, "FATAL: %s\n", msg);
77 cleanup (fatalmsgs[err], 1); 77 cleanup (msg, 1);
78} 78}
79 79
80///////////////////////////////////////////////////////////////////////////// 80/////////////////////////////////////////////////////////////////////////////
81 81
82/* 82/*

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines