forked from osmocom/wireshark
[trivial] Use g_stpcpy()
svn path=/trunk/; revision=51381
This commit is contained in:
parent
e4c4c6fbfb
commit
68d8cad8f5
|
@ -979,8 +979,8 @@ decode_bitfield_value(char *buf, const guint32 val, const guint32 mask, const in
|
|||
char *p;
|
||||
|
||||
p = other_decode_bitfield_value(buf, val, mask, width);
|
||||
strcpy(p, " = ");
|
||||
p += 3;
|
||||
p = g_stpcpy(p, " = ");
|
||||
|
||||
return p;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue