mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-23 14:20:40 +01:00
Fail only printed a message to stderr and exited. Instead, print it with g_error(), which also breaks in the debugger and produces a core-dump. Also, it constructed the message based on an unchecked format string and constructed a format string dynamically. Just don't do that. Also add a comment that these macros are discouraged because they are cumbersome to write (requiring a test-name and a failure message). |
||
|---|---|---|
| .. | ||
| gsystem-local-alloc.h | ||
| Makefile.am | ||
| nm-dbus-compat.h | ||
| nm-default.h | ||
| nm-glib.h | ||
| nm-macros-internal.h | ||
| nm-test-libnm-utils.h | ||
| nm-test-utils-impl.c | ||
| nm-test-utils.h | ||
| nm-version-macros.h.in | ||