core/logging: return static string from nm_logging_level_to_string()

Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Thomas Haller
2014-02-12 11:17:26 +01:00
parent ff6946a193
commit 85b972e9b8
3 changed files with 5 additions and 7 deletions

View File

@@ -114,7 +114,7 @@ void _nm_log (const char *loc,
const char *fmt,
...) __attribute__((__format__ (__printf__, 5, 6)));
char *nm_logging_level_to_string (void);
const char *nm_logging_level_to_string (void);
char *nm_logging_domains_to_string (void);
gboolean nm_logging_enabled (guint32 level, guint64 domain);