forked from osmocom/wireshark
Terminate the strings of the various parts and advance the write pointer.
svn path=/trunk/; revision=21805
This commit is contained in:
parent
ae673b5b38
commit
2b9b4cdc14
|
@ -370,6 +370,7 @@ static void macro_update(void* mp, const gchar** error) {
|
|||
if (c >= '0' && c <= '9') {
|
||||
cnt++;
|
||||
r++;
|
||||
*(w++) = '\0';
|
||||
arg_pos *= 10;
|
||||
arg_pos += c - '0';
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue