[almanah] vfs: Better comments
- From: Álvaro Peña <alvaropg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [almanah] vfs: Better comments
- Date: Fri, 5 Dec 2014 18:30:53 +0000 (UTC)
commit 14fbba27a388bd59f342038ec89e07ade807e540
Author: Álvaro Peña <alvaropg gmail com>
Date: Fri Dec 5 18:46:37 2014 +0100
vfs: Better comments
src/vfs.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/vfs.c b/src/vfs.c
index 9abe454..78ded50 100644
--- a/src/vfs.c
+++ b/src/vfs.c
@@ -600,7 +600,7 @@ demoClose (sqlite3_file *pFile)
encryption_key = get_encryption_key ();
if (encryption_key == NULL) {
if (self->decrypted) {
- /* Save the data from memory to file */
+ /* Save the data from memory to plain file */
GFile *plain_file;
GFileOutputStream *plain_output_stream;
gsize bytes_written;
@@ -654,6 +654,7 @@ demoClose (sqlite3_file *pFile)
rc = almanah_vfs_close_simple_file (self);
}
} else {
+ /* SQLITE_OPEN_MAIN_JOURNAL */
if (self->aBuffer != NULL)
rc = almanah_vfs_close_simple_file (self);
else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]