From: Pierre Habouzit Date: Tue, 18 Sep 2007 10:12:58 +0000 (+0200) Subject: Fix lapsus in builtin-apply.c X-Git-Tag: v1.5.3.2~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3d845d77639a8f91b9774b830d1a2d986a791489;p=git.git Fix lapsus in builtin-apply.c Signed-off-by: Pierre Habouzit Signed-off-by: Junio C Hamano --- diff --git a/builtin-apply.c b/builtin-apply.c index 5ad371424..bd969778e 100644 --- a/builtin-apply.c +++ b/builtin-apply.c @@ -254,7 +254,7 @@ static char *find_name(const char *line, char *def, int p_value, int terminate) if (name) { char *cp = name; while (p_value) { - cp = strchr(name, '/'); + cp = strchr(cp, '/'); if (!cp) break; cp++;