[evolution-kolab/ek-wip-porting] Camel: cleanup of error string formatting, format string fix



commit 49479f1fb40fb93b37cc3d984c0a2b074504aad0
Author: Christian Hilberg <hilberg kernelconcepts de>
Date:   Mon Mar 5 15:32:21 2012 +0100

    Camel: cleanup of error string formatting, format string fix

 src/camel/camel-kolab-imapx-metadata-db.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/camel/camel-kolab-imapx-metadata-db.c b/src/camel/camel-kolab-imapx-metadata-db.c
index 56c7105..7239785 100644
--- a/src/camel/camel-kolab-imapx-metadata-db.c
+++ b/src/camel/camel-kolab-imapx-metadata-db.c
@@ -162,8 +162,8 @@ camel_kolab_imapx_metadata_db_table_exists (CamelKolabImapxMetadataDb *mdb,
 		g_set_error (err,
 		             KOLAB_CAMEL_KOLAB_ERROR,
 		             KOLAB_CAMEL_KOLAB_ERROR_DB,
-		             _("SQLite Error: Multiple tables named %s, corrupted database %s"),
-		             __func__, name, mdb->path);
+		             _("SQLite Error: Multiple tables named '%s', corrupted database '%s'"),
+		             name, mdb->path);
 		return FALSE;
 	}
 
@@ -256,7 +256,7 @@ camel_kolab_imapx_metadata_db_open (CamelKolabImapxMetadataDb *mdb,
 		g_set_error (err,
 		             KOLAB_CAMEL_KOLAB_ERROR,
 		             KOLAB_CAMEL_KOLAB_ERROR_DB,
-		             _("SQLite Error: could not open/create SQLite database %s"),
+		             _("SQLite Error: could not open/create SQLite database '%s'"),
 		             filename);
 		g_free (filename);
 		return FALSE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]