diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-12-22 08:52:08 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-23 14:37:03 -0600 |
commit | 92216c5864efccacf2daa3f4f15de3bb479054bb (patch) | |
tree | e814870fbae8ab4e953fb29c56af3b2123bae690 /contrib | |
parent | 7b2f68cc21df469342cb1caa7ec8fb27005cd2dd (diff) | |
download | pacman-92216c5864efccacf2daa3f4f15de3bb479054bb.tar.xz |
pacman/util: return size_t from strtrim
Instead of returning the same value as the parameter to this function,
return the length of the string, which can be useful to the caller when
its non-zero (e.g. to find the end of the string).
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions