[PATCH v2 08/10] notmuch-config: use strchr(), not index() (Solaris support)

2012-11-05 Thread Blake Jones
notmuch-config.c has the only use of the function named "index()" in the notmuch source. Several other places use the equivalent function "strchr()"; this patch just fixes notmuch-config.c to use strchr() instead. (Solaris needs to include to get the prototype for index(), and notmuch-config.c

[PATCH v2 08/10] notmuch-config: use strchr(), not index() (Solaris support)

2012-11-05 Thread Blake Jones
notmuch-config.c has the only use of the function named index() in the notmuch source. Several other places use the equivalent function strchr(); this patch just fixes notmuch-config.c to use strchr() instead. (Solaris needs to include strings.h to get the prototype for index(), and