代码拉取完成,页面将自动刷新
From 8f203bb219e08ec2e685d190ea21d5a7c7cecf44 Mon Sep 17 00:00:00 2001
From: Flos Lonicerae <lonicerae@gmail.com>
Date: Wed, 8 May 2024 16:45:39 +0800
Subject: [PATCH] Fix passing the value to EscapeChar.
---
runtime/cfsysline.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/runtime/cfsysline.c b/runtime/cfsysline.c
index 34b1cd7a3..06fdb4bb0 100644
--- a/runtime/cfsysline.c
+++ b/runtime/cfsysline.c
@@ -59,7 +59,7 @@ linkedList_t llCmdList; /* this is NOT a pointer - no typo here ;) */
* HINT: check if char is ' and, if so, use 'c' where c may also be things
* like \t etc.
*/
-static rsRetVal doGetChar(uchar **pp, rsRetVal (*pSetHdlr)(void*, uid_t), void *pVal)
+static rsRetVal doGetChar(uchar **pp, rsRetVal (*pSetHdlr)(void*, uchar*), void *pVal)
{
DEFiRet;
@@ -78,7 +78,7 @@ static rsRetVal doGetChar(uchar **pp, rsRetVal (*pSetHdlr)(void*, uid_t), void *
*((uchar*)pVal) = **pp;
} else {
/* we set value via a set function */
- CHKiRet(pSetHdlr(pVal, **pp));
+ CHKiRet(pSetHdlr(pVal, *pp));
}
++(*pp); /* eat processed char */
}
--
2.33.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。