]> source.dussan.org Git - rspamd.git/commitdiff
Fix variable name.
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Fri, 25 Nov 2011 15:50:28 +0000 (18:50 +0300)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Fri, 25 Nov 2011 15:50:28 +0000 (18:50 +0300)
src/kvstorage_file.c

index 81521720cd8a4715afde91ed4e3eddd76ee996ae..e15b22dafe89a1ac7dc5339cf7b180567d6d9e97 100644 (file)
@@ -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