Replace index() with strchr().
authorDennis Stosberg <dennis@stosberg.net>
Tue, 11 Apr 2006 16:37:58 +0000 (18:37 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 11 Apr 2006 18:45:37 +0000 (11:45 -0700)
commitef9e58c826a4fcaa13457cd8177518163f82972a
tree944a5b90525514d0942c01293679e137c0324c6f
parent40d88d4fa3b13c0e7fe8eca23ff6d27e790bada2
Replace index() with strchr().

strchr() is more portable than index() and is used everywhere in
git already.

Signed-off-by: Junio C Hamano <junkio@cox.net>
http-fetch.c
http-push.c