diff options
author | Dan McGee <dan@archlinux.org> | 2008-05-05 03:51:04 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-05-09 03:59:59 +0200 |
commit | df5024fd64de5b033ed76d3ea347a1126572cbc3 (patch) | |
tree | 84ac9169c0ecc89e98370b2a01dcf05c0e093c91 /lib/libalpm/error.c | |
parent | 081ba4816ee90e59be31a14da6e7ac2ea5a10db8 (diff) | |
download | pacman-df5024fd64de5b033ed76d3ea347a1126572cbc3.tar.gz pacman-df5024fd64de5b033ed76d3ea347a1126572cbc3.tar.xz |
Use strdup() instead of a static buffer
We only need a copy of this string once we know we are going to extract it,
and we don't need a static buffer to copy it into since it is coming from a
known-length string.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/error.c')
0 files changed, 0 insertions, 0 deletions