library/DNS_Helpers: type 'char' was substituted with 'charstring'
Change-Id: I0c93002cf915a8ce7e63f208693b2b63ae52ac38 Related: SYS#5602
This commit is contained in:
parent
1298b09cb4
commit
89f198cb8c
|
@ -10,7 +10,7 @@ module DNS_Helpers {
|
|||
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
private function f_strchr(charstring s, char c) return integer {
|
||||
private function f_strchr(charstring s, charstring c) return integer {
|
||||
var integer i;
|
||||
for (i := 0; i < lengthof(s); i := i+1) {
|
||||
if (s[i] == c) {
|
||||
|
|
Loading…
Reference in New Issue