[gnome-logs] Assume messages with no priority are LOG_INFO
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-logs] Assume messages with no priority are LOG_INFO
- Date: Wed, 30 Oct 2013 11:23:49 +0000 (UTC)
commit efaf3c7933a683047b7a917d8edd45e7a2186327
Author: David King <davidk gnome org>
Date: Wed Oct 30 11:14:47 2013 +0000
Assume messages with no priority are LOG_INFO
src/gl-journal.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gl-journal.c b/src/gl-journal.c
index 114fdfc..338612d 100644
--- a/src/gl-journal.c
+++ b/src/gl-journal.c
@@ -275,7 +275,7 @@ _gl_journal_query_result (GlJournal *self)
goto out;
}
- result->priority = atoi (priority);
+ result->priority = priority ? atoi (priority) : LOG_INFO;
g_free (priority);
result->comm = gl_journal_get_data (self, "_COMM", &error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]