summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Mazieres <dm@uun.org>2014-02-08 20:33:27 -0800
committerDavid Mazieres <dm@uun.org>2014-02-08 20:33:27 -0800
commit504e7c1ed5dc8088af02f00fd4756b24e1a9a6a2 (patch)
tree62d15fc199879f5cbcbb1de35488e07a2cdd8abe
parentd322af0cab98a380c11e38a4334a1d8fa16ac6b7 (diff)
tweak verbose settings
-rw-r--r--protocol.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocol.cc b/protocol.cc
index 1853ee9..28317c0 100644
--- a/protocol.cc
+++ b/protocol.cc
@@ -1084,7 +1084,7 @@ get_response (istream &in, string &line)
{
if (!getline (in, line))
throw runtime_error ("premature EOF");
- if (opt_verbose >= 3)
+ if (opt_verbose > 3)
cerr << line << '\n';
if (line.empty())
throw runtime_error ("unexpected empty line");
@@ -1124,7 +1124,7 @@ muchsync_client (sqlite3 *db, const string &maildir,
if (!(is >> hi))
throw runtime_error ("could not parse hash_info: " + line.substr(4));
bool ok = msync.hash_sync (remotevv, hi, nullptr);
- if (opt_verbose >= 2) {
+ if (opt_verbose > 2) {
if (ok)
cerr << hi << '\n';
else
@@ -1152,7 +1152,7 @@ muchsync_client (sqlite3 *db, const string &maildir,
throw runtime_error ("lost sync while receiving message: " + line);
if (!msync.hash_sync (remotevv, hi, &path))
throw runtime_error ("msg_sync::sync failed even with source");
- if (opt_verbose >= 2)
+ if (opt_verbose > 2)
cerr << hi << '\n';
}
print_time ("received content of missing messages");
@@ -1162,7 +1162,7 @@ muchsync_client (sqlite3 *db, const string &maildir,
tag_info ti;
if (!(is >> ti))
throw runtime_error ("could not parse tag_info: " + line.substr(4));
- if (opt_verbose >= 2)
+ if (opt_verbose > 2)
cerr << ti << '\n';
msync.tag_sync(remotevv, ti);
}