[tracker/journal-rotating] Codeing style
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/journal-rotating] Codeing style
- Date: Mon, 10 May 2010 15:57:44 +0000 (UTC)
commit 4d3f955588b3060194ddab62439d853ccdae87d0
Author: Philip Van Hoof <philip codeminded be>
Date: Mon May 10 17:56:41 2010 +0200
Codeing style
src/libtracker-db/tracker-db-journal.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-journal.c b/src/libtracker-db/tracker-db-journal.c
index be81059..ad43ac0 100644
--- a/src/libtracker-db/tracker-db-journal.c
+++ b/src/libtracker-db/tracker-db-journal.c
@@ -316,10 +316,11 @@ tracker_db_journal_init (const gchar *filename,
writer.do_rotating = do_rotating;
writer.chunk_size = chunk_size;
- if (rotate_to)
+ if (rotate_to) {
writer.rotate_to = g_strdup (rotate_to);
- else
+ } else {
writer.rotate_to = NULL;
+ }
return tracker_db_journal_init_file (truncate);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]