aboutsummaryrefslogtreecommitdiff
path: root/lib/database.cc
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2016-05-28 20:45:31 +0300
committerDavid Bremner <david@tethera.net>2016-06-05 08:23:28 -0300
commitcf09631a45d276826255d197c1d5c913a29c79f4 (patch)
treef9489ba47a7a91778b0e39d00c7387dabeb3c98c /lib/database.cc
parentb9bf3f44eacd42ce53885c79f9dad8d82c76f13d (diff)
lib: whitespace cleanup
Cleaned the following whitespace in lib/* files: lib/index.cc: 1 line: trailing whitespace lib/database.cc 5 lines: 8 spaces at the beginning of line lib/notmuch-private.h: 4 lines: 8 spaces at the beginning of line lib/message.cc: 1 line: trailing whitespace lib/sha1.c: 1 line: empty lines at the end of file lib/query.cc: 2 lines: 8 spaces at the beginning of line lib/gen-version-script.sh: 1 line: trailing whitespace
Diffstat (limited to 'lib/database.cc')
-rw-r--r--lib/database.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/database.cc b/lib/database.cc
index 96300008..0b604102 100644
--- a/lib/database.cc
+++ b/lib/database.cc
@@ -2177,8 +2177,8 @@ _notmuch_database_link_message_to_parents (notmuch_database_t *notmuch,
* References header, if available. If not, fall back to the
* first message ID in the In-Reply-To header. */
if (last_ref_message_id) {
- _notmuch_message_add_term (message, "replyto",
- last_ref_message_id);
+ _notmuch_message_add_term (message, "replyto",
+ last_ref_message_id);
} else if (in_reply_to_message_id) {
_notmuch_message_add_term (message, "replyto",
in_reply_to_message_id);
@@ -2287,15 +2287,15 @@ _consume_metadata_thread_id (void *ctx, notmuch_database_t *notmuch,
if (stored_id.empty ()) {
return NULL;
} else {
- Xapian::WritableDatabase *db;
+ Xapian::WritableDatabase *db;
db = static_cast <Xapian::WritableDatabase *> (notmuch->xapian_db);
/* Clear the metadata for this message ID. We don't need it
* anymore. */
- db->set_metadata (metadata_key, "");
+ db->set_metadata (metadata_key, "");
- return talloc_strdup (ctx, stored_id.c_str ());
+ return talloc_strdup (ctx, stored_id.c_str ());
}
}