index e38ba39b6468fda8cc68aec73615ac9cce158daa..d5cf9d8f94f37fe8ff9f964998c7f0525617e5bc 100644 (file)
--- a/quote.c
+++ b/quote.c
switch (*quoted++) {
case '"':
if (endp)
switch (*quoted++) {
case '"':
if (endp)
- *endp = quoted + 1;
+ *endp = quoted;
return 0;
case '\\':
break;
return 0;
case '\\':
break;