changeset 368:fd145e9a3df0 stable-6-0-48

fix infinite loop
author Carl Byington <carl@five-ten-sg.com>
date Tue, 17 Jan 2017 14:09:30 -0800
parents 78de917bacf4
children f15c694c31d2
files src/context.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/context.cpp	Mon Jan 16 13:53:52 2017 -0800
+++ b/src/context.cpp	Tue Jan 17 14:09:30 2017 -0800
@@ -1117,6 +1117,7 @@
         if ((strncasecmp(p, s, n) == 0) && ((p[n] == '\0') || (p[n] == ','))) return true;
         p = strchr(p, ',');
         if (!p) return false;
+        p++;
     } while (true);
 }