提交 3e44e3c5 编写于 作者: X xionglei6

init: fix codedex

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 58d72d8d
...@@ -197,7 +197,7 @@ int SplitString(char *srcPtr, const char *del, char **dstPtr, int maxNum) ...@@ -197,7 +197,7 @@ int SplitString(char *srcPtr, const char *del, char **dstPtr, int maxNum)
while (dstPtr[counter] != NULL && (counter < maxNum)) { while (dstPtr[counter] != NULL && (counter < maxNum)) {
counter++; counter++;
if (counter >= maxNum) { if (counter >= maxNum) {
break; break;
} }
dstPtr[counter] = strtok_r(NULL, del, &buf); dstPtr[counter] = strtok_r(NULL, del, &buf);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册