common: Add 'append_to_strlist_try' which can fail.
authorJustus Winter <justus@g10code.com>
Thu, 21 Apr 2016 10:36:04 +0000 (12:36 +0200)
committerJustus Winter <justus@g10code.com>
Thu, 21 Apr 2016 12:38:53 +0000 (14:38 +0200)
commit95303ee11df12f284e98d02dba993eda9e425383
tree3df397aa0d0de34908e410bd91b233a9b79b00d8
parent342cc488890241b41e49f50886617115342721d6
common: Add 'append_to_strlist_try' which can fail.

* common/strlist.c (append_to_strlist): Use the new function.
(append_to_strlist_try): New function.
* common/strlist.h (append_to_strlist_try): New prototype.

Signed-off-by: Justus Winter <justus@g10code.com>
common/strlist.c
common/strlist.h