X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=quote.c;h=d5cf9d8f94f37fe8ff9f964998c7f0525617e5bc;hb=4df0d7af6be27fe5b0ffef438ef0169607253f66;hp=e38ba39b6468fda8cc68aec73615ac9cce158daa;hpb=a734d0b10bd0f5554abb3acdf11426040cfc4df0;p=git.git diff --git a/quote.c b/quote.c index e38ba39b6..d5cf9d8f9 100644 --- a/quote.c +++ b/quote.c @@ -330,7 +330,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;