diff options
| author | Carl Worth <cworth@cworth.org> | 2009-10-24 22:29:49 -0700 |
|---|---|---|
| committer | Carl Worth <cworth@cworth.org> | 2009-10-24 22:29:49 -0700 |
| commit | 2a9b4fce7ce9dc1cb89a7581bc1360fd4bfcdf99 (patch) | |
| tree | 4e856dc665db7ad1f4c78e7317128e1a23a1929a /database.cc | |
| parent | 36809b5dfb2344c9d3ce4220b2717fd0306e216b (diff) | |
Change all occurrences of "msgid" to "id".
What's good for the user is good for the internals.
Diffstat (limited to 'database.cc')
| -rw-r--r-- | database.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/database.cc b/database.cc index 1666aff0..d513b855 100644 --- a/database.cc +++ b/database.cc @@ -44,7 +44,6 @@ typedef struct { prefix_t BOOLEAN_PREFIX[] = { { "type", "K" }, { "tag", "L" }, - { "msgid", "Q" }, { "id", "Q" }, { "thread", "H" }, { "ref", "R" }, @@ -207,7 +206,7 @@ notmuch_database_find_message (notmuch_database_t *notmuch, notmuch_private_status_t status; unsigned int doc_id; - status = find_unique_doc_id (notmuch, "msgid", message_id, &doc_id); + status = find_unique_doc_id (notmuch, "id", message_id, &doc_id); if (status == NOTMUCH_PRIVATE_STATUS_NO_DOCUMENT_FOUND) return NULL; |
