1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-06-09 06:20:43 +00:00
gophernicus/src
Omar Polo f35631e8e2 fix all call to die() with NULL as an argument
This fixes all the calls to die so they pass a proper string and not
NULL.  die blindly pass its arguments to log_fatal, which in turns
relays on vprintf or such.  At least on OpenBSD, giving NULL instead
of a string for %s yields a log entry in syslog:

Jan 21 09:35:22 venera gophernicus: vfprintf %s NULL in "Error: %s %s\^M "

As a side effect, now some errors from pledge and unveil are slightly
more clear.
2022-01-21 09:43:32 +01:00
..
bin2c.c Spaces to Tabs as per consensus in #56 2020-02-05 19:19:42 +11:00
file.c Rework logging logic 2020-10-12 20:21:06 +02:00
filetypes.conf Filetypes2 (#57) 2020-01-20 22:36:02 +00:00
filetypes.sh Filetypes2 (#57) 2020-01-20 22:36:02 +00:00
gophernicus.c fix all call to die() with NULL as an argument 2022-01-21 09:43:32 +01:00
gophernicus.h Rework logging logic 2020-10-12 20:21:06 +02:00
log.c Rework logging logic 2020-10-12 20:21:06 +02:00
menu.c Rework logging logic 2020-10-12 20:21:06 +02:00
options.c Declare function prototypes explicitly 2020-06-08 13:10:06 +10:00
platform.c Rework logging logic 2020-10-12 20:21:06 +02:00
session.c Rework logging logic 2020-10-12 20:21:06 +02:00
string.c Remove trailing whitespace 2020-04-23 21:18:23 +02:00