dovecot-2.0: fs-sis: Removed a bit of unnecessary code.
dovecot at dovecot.org
dovecot at dovecot.org
Sat Oct 2 14:34:04 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/6afec3647628
changeset: 12258:6afec3647628
user: Timo Sirainen <tss at iki.fi>
date: Thu Aug 26 18:59:19 2010 +0100
description:
fs-sis: Removed a bit of unnecessary code.
diffstat:
src/lib-fs/fs-sis.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 75e4f4a86cb3 -r 6afec3647628 src/lib-fs/fs-sis.c
--- a/src/lib-fs/fs-sis.c Thu Aug 26 18:16:04 2010 +0100
+++ b/src/lib-fs/fs-sis.c Thu Aug 26 18:59:19 2010 +0100
@@ -1,7 +1,6 @@
/* Copyright (c) 2010 Dovecot authors, see the included COPYING file */
#include "lib.h"
-#include "sha1.h"
#include "str.h"
#include "istream.h"
#include "ostream-cmp.h"
@@ -22,7 +21,6 @@
struct ostream *fs_output;
char *hash, *hash_path;
- struct sha1_ctxt existing_hash;
};
static void fs_sis_copy_error(struct sis_fs *fs)
@@ -104,7 +102,6 @@
file->super = super;
file->open_mode = mode;
file->hash = i_strdup(hash);
- sha1_init(&file->existing_hash);
/* if hashes/<hash> already exists, open it */
file->hash_path = i_strdup_printf("%s/"HASH_DIR_NAME"/%s", dir, hash);
More information about the dovecot-cvs
mailing list