diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-06-15 17:41:50 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-06-16 16:38:24 -0500 |
commit | b648a112f2d2a01b2f7adb7b847ce1731601952d (patch) | |
tree | 0b145b3538373de109a17cefd9d55b3549b5c72e /src | |
parent | 69372e642ed063d15dec6662984b7699640a4e11 (diff) | |
download | ofono-b648a112f2d2a01b2f7adb7b847ce1731601952d.tar.bz2 |
Improve string parsing code
Currently next_string and next_hexstring functions use a static
buffer in the iterator to store the value. This value is clobbered
as soon as next_string or next_hexstring is called. Instead,
we copy the entire line in iter_next and use it as a scratch buffer.
The only limitation is that lines of max 2048 are possible, however
these are limited to around this size by parts of the standard.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions