[tracker/tracker-0.6] Fix typo in logic.
- From: Carlos Garnacho <carlosg src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker/tracker-0.6] Fix typo in logic.
- Date: Mon, 1 Jun 2009 08:55:42 -0400 (EDT)
commit e9776178856a451a1c36adf754f07e38cec404d3
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Jun 1 14:55:19 2009 +0200
Fix typo in logic.
---
src/libtracker-common/tracker-file-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/libtracker-common/tracker-file-utils.c b/src/libtracker-common/tracker-file-utils.c
index 7284470..8d48b72 100644
--- a/src/libtracker-common/tracker-file-utils.c
+++ b/src/libtracker-common/tracker-file-utils.c
@@ -338,7 +338,7 @@ tracker_file_system_has_enough_space (const gchar *path,
str1 = g_format_size_for_display (required_bytes);
str2 = g_format_size_for_display (st.f_bsize * st.f_bavail);
- enough = ((long long) st.f_bsize * st.f_bavail) <= required_bytes;
+ enough = ((long long) st.f_bsize * st.f_bavail) >= required_bytes;
if (!enough) {
g_critical ("Not enough disk space to create databases, "
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]