X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fmessage.cc;h=c2721191043e88e265a7920b89cc90b8a191719d;hp=f8215a49f7dc93b482fb1d309b5ce8c68d6ba2f3;hb=e56511817284afc14352f47a13fcf85b2fabd628;hpb=0b76e4a6f45b051bfcaf9f058d3162b423007294 diff --git a/lib/message.cc b/lib/message.cc index f8215a49..c2721191 100644 --- a/lib/message.cc +++ b/lib/message.cc @@ -1843,7 +1843,7 @@ _notmuch_message_ensure_property_map (notmuch_message_t *message) const char *key; char *value; - value = index(node->string, '='); + value = strchr(node->string, '='); if (!value) INTERNAL_ERROR ("malformed property term");