Commit db013b53 by Peter Pettersson

util: replace index (deprecated) with strchr

parent 1f54d5bb
...@@ -37,7 +37,7 @@ struct git_process { ...@@ -37,7 +37,7 @@ struct git_process {
GIT_INLINE(bool) is_delete_env(const char *env) GIT_INLINE(bool) is_delete_env(const char *env)
{ {
char *c = index(env, '='); char *c = strchr(env, '=');
if (c == NULL) if (c == NULL)
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment