summaryrefslogtreecommitdiff
path: root/utils/messages.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/messages.c')
-rw-r--r--utils/messages.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/utils/messages.c b/utils/messages.c
index 5ac44ae3c..2f3bc173e 100644
--- a/utils/messages.c
+++ b/utils/messages.c
@@ -116,8 +116,11 @@ void messages_load(const char *path)
struct hash_table *m;
char s[400];
- assert(path != NULL);
-
+ if (path == NULL)
+ return;
+
+ LOG(("Loading Messages from '%s'", path));
+
m = messages_load_ctx(path, messages_hash);
if (m == NULL) {
LOG(("Unable to open Messages file '%s'. Possible reason: %s",