diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-11-25 18:50:28 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-11-25 18:50:28 +0300 |
commit | 8641ae433bc85df26be852a454500e1b7d7da76d (patch) | |
tree | 8f41984fe254745f7d51b76ec062b32095a25109 /src/kvstorage_file.c | |
parent | d36aecab66bf9279bf5c7e1fef069de5ae9f9576 (diff) | |
download | rspamd-8641ae433bc85df26be852a454500e1b7d7da76d.tar.gz rspamd-8641ae433bc85df26be852a454500e1b7d7da76d.zip |
Fix variable name.
Diffstat (limited to 'src/kvstorage_file.c')
-rw-r--r-- | src/kvstorage_file.c | 4 |
1 files 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 |