mirror of
https://gitee.com/openharmony/startup_init
synced 2025-02-25 23:15:38 +00:00
init: fix codedex
Signed-off-by: xionglei6 <xionglei6@huawei.com>
This commit is contained in:
parent
58d72d8dac
commit
3e44e3c55f
@ -197,7 +197,7 @@ int SplitString(char *srcPtr, const char *del, char **dstPtr, int maxNum)
|
||||
while (dstPtr[counter] != NULL && (counter < maxNum)) {
|
||||
counter++;
|
||||
if (counter >= maxNum) {
|
||||
break;
|
||||
break;
|
||||
}
|
||||
dstPtr[counter] = strtok_r(NULL, del, &buf);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user