diff options
author | Dan McGee <dan@archlinux.org> | 2011-11-02 01:17:26 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-11-02 01:17:26 +0100 |
commit | 1953fe43689054aded03eb166f4f987e7cc0dccd (patch) | |
tree | 4ff0a94ee4ac463e98ccef4717ba7494abeb0c21 /TRANSLATORS | |
parent | d98ff04cc933253b7221fc170813f7d2365d3289 (diff) | |
download | pacman-1953fe43689054aded03eb166f4f987e7cc0dccd.tar.gz pacman-1953fe43689054aded03eb166f4f987e7cc0dccd.tar.xz |
Fix thinko in _alpm_strip_newline
The point of this early compare to NULL byte check was so we could bail
early and skip the strcmp() call. Given we weren't doing the check
right, this never exited early. Fix it to work as intended.
Noticed-by: Pepe Juárez <trulustapa@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'TRANSLATORS')
0 files changed, 0 insertions, 0 deletions