X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fcommon%2Frexit.c;h=7eeaccb52d1c92d91a3c9760771888de70b16bde;hb=a5b35a816a4a52235aa5c56386193ebdf64619db;hp=a3e18b2664648dc13139c0943135291d37425ce7;hpb=1cb57a35a3b3cc4ec8870531ca254a655c0bdda2;p=plomrogue
diff --git a/src/common/rexit.c b/src/common/rexit.c
index a3e18b2..7eeaccb 100644
--- a/src/common/rexit.c
+++ b/src/common/rexit.c
@@ -1,4 +1,9 @@
-/* src/common/rexit.c */
+/* src/common/rexit.c
+ *
+ * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+ * or any later version. For details on its copyright, license, and warranties,
+ * see the file NOTICE in the root directory of the PlomRogue source package.
+ */
#include "rexit.h"
#include /* global errno */
@@ -28,7 +33,7 @@ extern void exit_err(int err, const char * msg)
return;
}
cleanup_func();
- if (NULL == msg)
+ if (!msg)
{
msg = "Details unknown.";
}