From 8641ae433bc85df26be852a454500e1b7d7da76d Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 25 Nov 2011 18:50:28 +0300 Subject: [PATCH] Fix variable name. --- src/kvstorage_file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kvstorage_file.c b/src/kvstorage_file.c index 81521720c..e15b22daf 100644 --- a/src/kvstorage_file.c +++ b/src/kvstorage_file.c @@ -147,14 +147,14 @@ file_process_single_op (struct rspamd_file_backend *db, struct file_op *op, gint /* Sync vector of descriptors */ static void -file_sync_fds (gint *fds, gint len, gboolean fsync) +file_sync_fds (gint *fds, gint len, gboolean do_fsync) { gint i, fd; for (i = 0; i < len; i ++) { fd = fds[i]; if (fd != -1) { - if (fsync) { + if (do_fsync) { #ifdef HAVE_FDATASYNC fdatasync (fd); #else -- 2.39.5