Print NULL strings as "nil" in wl_closure_print
authorSimon Ser <contact@emersion.fr>
Tue, 29 Jan 2019 22:00:40 +0000 (22:00 +0000)
committerPekka Paalanen <pekka.paalanen@collabora.com>
Wed, 30 Jan 2019 13:49:04 +0000 (15:49 +0200)
commit6afb152122f242d39c886bffa02c55d764e20fe8
tree9bf697825c05d44c0512513fc4b6271acbe83977
parentd325140289d5767cdef5fc31f7d89b451c1066aa
Print NULL strings as "nil" in wl_closure_print

Calling printf("%s", NULL) is undefined behaviour.

Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.com>
src/connection.c