[evolution-data-server/gnome-2-32] Bug 632376 - Rewind in camel-disco-diary to fix a crash
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-2-32] Bug 632376 - Rewind in camel-disco-diary to fix a crash
- Date: Sun, 17 Oct 2010 17:17:37 +0000 (UTC)
commit 94a0ec62c2b7a3f44f7d5151ba644aaf7ebda4d4
Author: Pacho Ramos <pacho condmat1 ciencias uniovi es>
Date: Sun Oct 17 13:17:14 2010 -0400
Bug 632376 - Rewind in camel-disco-diary to fix a crash
camel/camel-disco-diary.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/camel/camel-disco-diary.c b/camel/camel-disco-diary.c
index 8690f20..5fa45d6 100644
--- a/camel/camel-disco-diary.c
+++ b/camel/camel-disco-diary.c
@@ -411,6 +411,7 @@ camel_disco_diary_replay (CamelDiscoDiary *diary,
/* Truncate the log */
ftruncate (fileno (diary->file), 0);
+ rewind (diary->file);
g_propagate_error (error, local_error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]