aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-data-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-data-cache.c')
-rw-r--r--camel/camel-data-cache.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/camel-data-cache.c b/camel/camel-data-cache.c
index 04c9650bdb..6147a888f1 100644
--- a/camel/camel-data-cache.c
+++ b/camel/camel-data-cache.c
@@ -438,10 +438,10 @@ camel_data_cache_remove(CamelDataCache *cdc, const char *path, const char *key,
}
/* maybe we were a mem stream */
- if (unlink(real) == -1 && errno != ENOENT) {
- camel_exception_setv(ex, CAMEL_EXCEPTION_SYSTEM,
- _("Could not remove cache entry: %s: %s"),
- real, strerror(errno));
+ if (unlink (real) == -1 && errno != ENOENT) {
+ camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
+ _("Could not remove cache entry: %s: %s"),
+ real, g_strerror (errno));
ret = -1;
} else {
ret = 0;