X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-config.c;h=6845e3c3db5d3af6f5a9d25f39d4eb8060a1e41a;hp=befe9b5b5c8a45a084d7a3fd2738b5344fa4a7bb;hb=95ee9ed643add869f47940fccaad7b92bec4943f;hpb=f0dfda5c7797f9db81ce35d270fe0ac406c7fca1 diff --git a/notmuch-config.c b/notmuch-config.c index befe9b5b..6845e3c3 100644 --- a/notmuch-config.c +++ b/notmuch-config.c @@ -704,7 +704,7 @@ _item_split (char *item, char **group, char **key) *group = item; - period = index (item, '.'); + period = strchr (item, '.'); if (period == NULL || *(period+1) == '\0') { fprintf (stderr, "Invalid configuration name: %s\n"