Package: maildir-utils
Severity: normal
Tags: patch

Use an already existing function to check if -q is used.

--- index/mu-index.c.orig       2008-10-28 22:38:36.000000000 +0100
+++ index/mu-index.c    2009-08-19 19:39:51.000000000 +0200
@@ -195,8 +195,9 @@
        result = run_callback_maybe (data);
        if (result != MU_OK)
                return result;
-       
-       ++data->_stats->_processed;
+  
+       if (!mu_index_app_quiet())
+               ++data->_stats->_processed;
                
        /* see if we need to update/insert anything...*/
        dbstamp = mu_storage_sqlite_message_timestamp (data->_sqlite, fullpath);

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-rc5
Locale: LANG=C, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages maildir-utils depends on:
ii  libc6                  2.9-25            GNU C Library: Shared libraries
ii  libgcc1                1:4.4.1-2         GCC support library
ii  libglib2.0-0           2.20.4-1          The GLib library of C routines
ii  libgmime-2.0-2a        2.2.22-4          MIME library
ii  libsqlite3-0           3.6.17-2          SQLite 3 shared library
ii  libstdc++6             4.4.1-2           The GNU Standard C++ Library v3
ii  libxapian15            1.0.14-2          Search engine library
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

maildir-utils recommends no packages.

maildir-utils suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to