commit | dc88785f9ce5b0d582f6ae738f949bcce656754e | [log] [tgz] |
---|---|---|
author | Maxime de Roucy <maxime.deroucy@gmail.com> | Fri May 13 23:52:54 2016 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sat May 14 00:00:54 2016 +0200 |
tree | 7ecce8ac20d849dd1d6ab0e5e8a4351308ae2a9c | |
parent | 7d1b48fae0e8d98d259df60dbe048b0179fa254c [diff] |
MINOR: add list_append_word function int list_append_word(struct list *li, const char *str, char **err) Append a copy of string <str> (inside a wordlist) at the end of the list <li>. The caller is responsible for freeing the <err> and <str> copy memory area using free(). On failure : return 0 and <err> filled with an error message.