aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-block-file.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-04-26 13:13:45 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-04-26 13:13:45 +0800
commitdf00976fe425356187dbbd72b8080ae4a1d9dd01 (patch)
tree83b4b4c1abd23bf1287323893266e9c320037207 /camel/camel-block-file.c
parent8358adf1acfb1a3c679f9f9fa71106c037587103 (diff)
downloadgsoc2013-evolution-df00976fe425356187dbbd72b8080ae4a1d9dd01.tar
gsoc2013-evolution-df00976fe425356187dbbd72b8080ae4a1d9dd01.tar.gz
gsoc2013-evolution-df00976fe425356187dbbd72b8080ae4a1d9dd01.tar.bz2
gsoc2013-evolution-df00976fe425356187dbbd72b8080ae4a1d9dd01.tar.lz
gsoc2013-evolution-df00976fe425356187dbbd72b8080ae4a1d9dd01.tar.xz
gsoc2013-evolution-df00976fe425356187dbbd72b8080ae4a1d9dd01.tar.zst
gsoc2013-evolution-df00976fe425356187dbbd72b8080ae4a1d9dd01.zip
Remove the excessive \n's, after printfs.
2002-04-26 Not Zed <NotZed@Ximian.com> * camel-block-file.c (block_file_validate_root): Remove the excessive \n's, after printfs. * camel-text-index.c (text_index_compress_nosync): @!#$@#$!@$#!. Since the rename op was fixed, this broke compression's rename, resulting in the index 'vanishing' after every compress (i.e. after every reindex). Fix this code to account for the fixed rename operation. svn path=/trunk/; revision=16591
Diffstat (limited to 'camel/camel-block-file.c')
-rw-r--r--camel/camel-block-file.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/camel/camel-block-file.c b/camel/camel-block-file.c
index 34e62a7c8a..be30ad6f17 100644
--- a/camel/camel-block-file.c
+++ b/camel/camel-block-file.c
@@ -117,15 +117,15 @@ block_file_validate_root(CamelBlockFile *bs)
|| st.st_size != br->last
|| br->free > st.st_size
|| (br->flags & CAMEL_BLOCK_FILE_SYNC) == 0) {
- g_warning("Invalid root: '%s'\n", bs->path);
- g_warning("version: %.8s (%.8s)\n", bs->root->version, bs->version);
- g_warning("block size: %d (%d)%s\n", br->block_size, bs->block_size,
+ g_warning("Invalid root: '%s'", bs->path);
+ g_warning("version: %.8s (%.8s)", bs->root->version, bs->version);
+ g_warning("block size: %d (%d)%s", br->block_size, bs->block_size,
br->block_size != bs->block_size ? " BAD":" OK");
- g_warning("free: %ld (%d add size < %ld)%s\n", (long)br->free, br->free / bs->block_size * bs->block_size, (long)st.st_size,
+ g_warning("free: %ld (%d add size < %ld)%s", (long)br->free, br->free / bs->block_size * bs->block_size, (long)st.st_size,
(br->free > st.st_size) || (br->free % bs->block_size) != 0 ? " BAD":" OK");
- g_warning("last: %ld (%d and size: %ld)%s\n", (long)br->last, br->last / bs->block_size * bs->block_size, (long)st.st_size,
+ g_warning("last: %ld (%d and size: %ld)%s", (long)br->last, br->last / bs->block_size * bs->block_size, (long)st.st_size,
(br->last != st.st_size) || ((br->last % bs->block_size) != 0) ? " BAD": " OK");
- g_warning("flags: %s\n", (br->flags & CAMEL_BLOCK_FILE_SYNC)?"SYNC":"unSYNC");
+ g_warning("flags: %s", (br->flags & CAMEL_BLOCK_FILE_SYNC)?"SYNC":"unSYNC");
return -1;
}