return error if iconv fails
This commit is contained in:
parent
f58d8c6240
commit
c3cd3d590a
1 changed files with 2 additions and 0 deletions
|
@ -132,6 +132,8 @@ dvb_get_string(char *dst, size_t dstlen, const uint8_t *src,
|
|||
in++;
|
||||
inlen--;
|
||||
continue;
|
||||
} else {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue