From 7009cf91a6c42a3e25949aa3defae652d271322a Mon Sep 17 00:00:00 2001 From: bbscool Date: Tue, 14 Jun 2016 23:34:06 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=9B=A0=E7=99=BE=E5=BA=A6?= =?UTF-8?q?=E7=9B=98=E9=A6=96=E9=A1=B5=E7=BB=93=E6=9E=84=E5=8F=98=E5=8C=96?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E6=A3=80=E6=B5=8B=E7=99=BB=E5=BD=95=E5=8D=A1?= =?UTF-8?q?=E6=AD=BB=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pcs/pcs.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pcs/pcs.c b/pcs/pcs.c index d81bf409..6d07452d 100644 --- a/pcs/pcs.c +++ b/pcs/pcs.c @@ -221,10 +221,13 @@ static char *pcs_get_yunData(const char *html, const char *key) if (*p == key[0] && pcs_utils_streq(p, key, i)) { tmp = p + i; PCS_SKIP_SPACE(tmp); - //if (*tmp != '(') continue; tmp++; - if (*tmp != '=') continue; tmp++; + if (*tmp != '=') { + p++; continue; + }tmp++; PCS_SKIP_SPACE(tmp); - if (*tmp != '{') continue; + if (*tmp != '{') { + p++; continue; + } end = tmp; while (*end) {