MCPcopy Create free account
hub / github.com/assaultcube/AC / fatal

Function fatal

source/src/server.cpp:5011–5019  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5009
5010void localservertoclient(int chan, uchar *buf, int len, bool demo) {}
5011void fatal(const char *s, ...)
5012{
5013 defvformatstring(msg,s,s);
5014 defformatstring(out)("AssaultCube fatal error: %s", msg);
5015 xlog(ACLOG_ERROR, "%s", out);
5016 puts(out);
5017 cleanupserver();
5018 exit(EXIT_FAILURE);
5019}
5020
5021int main(int argc, char **argv)
5022{

Callers 6

poll_serverthreadsFunction · 0.70
randommapFunction · 0.70
startgameFunction · 0.70
processFunction · 0.70
initserverFunction · 0.70
server.cppFile · 0.70

Calls 2

xlogFunction · 0.85
cleanupserverFunction · 0.85

Tested by

no test coverage detected