lib/conflict: save strlen call by reusing snprintf return
commit8c8f04371745dad0bafcea14b38b4570e0b24a31
authorDave Reisner <dreisner@archlinux.org>
Sun, 13 Nov 2011 23:19:28 +0000 (13 18:19 -0500)
committerDan McGee <dan@archlinux.org>
Mon, 12 Dec 2011 18:56:48 +0000 (12 12:56 -0600)
treedae567a9f9b2e92e053d94924aaa50f7cedee09c
parent3d4656c0204956847a62c95b0f28747d7a0c2c05
lib/conflict: save strlen call by reusing snprintf return

The return should probably be checked to ensure its not longer than
PATH_MAX, but I have no idea what the correct behavior is when that
happens.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/conflict.c