X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=quote.c;h=40702f6b725efade3e1fd61339421940f9fdb47d;hb=1affea4f629537fd48e3bd66de89a6f45d0fcd82;hp=d061626c34f1e62c538db6e931c29751be4fdbcf;hpb=f85fd3f0d1213a2b714fddc7a834817aceeca932;p=git.git diff --git a/quote.c b/quote.c index d061626c3..40702f6b7 100644 --- a/quote.c +++ b/quote.c @@ -288,7 +288,7 @@ int unquote_c_style(struct strbuf *sb, const char *quoted, const char **endp) switch (*quoted++) { case '"': if (endp) - *endp = quoted + 1; + *endp = quoted; return 0; case '\\': break;