summaryrefslogtreecommitdiff
path: root/nt
diff options
context:
space:
mode:
authorAndrew Innes <andrewi@gnu.org>2001-03-18 16:54:35 +0000
committerAndrew Innes <andrewi@gnu.org>2001-03-18 16:54:35 +0000
commit2afff93ade8207c8742da0fb156a37cbb58f0b82 (patch)
tree6cdf4a62dca0557f7541f4bdd2b161931d14cc6e /nt
parent4986c2c6c8b786409fb44f740b2e358736145313 (diff)
downloademacs-2afff93ade8207c8742da0fb156a37cbb58f0b82.tar.gz
(get_next_token): Fix indefinite loop bug scanning
escaped quotes.
Diffstat (limited to 'nt')
-rw-r--r--nt/cmdproxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nt/cmdproxy.c b/nt/cmdproxy.c
index 267e00acc98..09a3c672e79 100644
--- a/nt/cmdproxy.c
+++ b/nt/cmdproxy.c
@@ -158,6 +158,7 @@ get_next_token (char * buf, char ** pSrc)
if (p[0] == escape_char && escape_char != '"')
{
escape_char_run++;
+ p++;
continue;
}
else if (p[0] == '"')