const char * po_message_extracted_comments (po_message_t message) { /* FIXME: memory leak. */ message_ty *mp = (message_ty *) message; if (mp->comment_dot == NULL || mp->comment_dot->nitems == 0) return ""; else return string_list_join (mp->comment_dot, '\n', '\n', true); }
void ccnet_peer_get_myroles_str (CcnetPeer *peer, GString* buf) { string_list_join (peer->myrole_list, buf, ","); }