diff src/context.cpp @ 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 bcfbffe254ed
children 879a470c6ac3
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);
 }