be_package: be more explicit parsing key/value pairs
commita7cb1509317e929043df973a9814145fecc99513
authorDan McGee <dan@archlinux.org>
Fri, 23 Dec 2011 20:32:01 +0000 (23 14:32 -0600)
committerDan McGee <dan@archlinux.org>
Fri, 23 Dec 2011 20:37:03 +0000 (23 14:37 -0600)
tree88960ae35ebd719cde3f8cee3993a3692b55bbe2
parente28f321a486a310aeb3358ceff032793a88e5eb4
be_package: be more explicit parsing key/value pairs

This eliminates the need for strtrim() usage completely, instead relying
on the fact that the only allowed delimiter between key and value is the
" = " string.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/be_package.c