* use the new strip option for list->str

This commit is contained in:
Dirk-Jan C. Binnema
2011-07-06 02:14:00 +03:00
parent 86d7968bc2
commit 0ec6df6369
3 changed files with 37 additions and 6 deletions

View File

@ -92,7 +92,7 @@ mu_msg_doc_get_str_list_field (MuMsgDoc *self, MuMsgFieldId mfid,
try {
/* return a comma-separated string as a GSList */
const std::string s (self->doc().get_value(mfid));
return s.empty() ? NULL : mu_str_to_list(s.c_str(),',');
return s.empty() ? NULL : mu_str_to_list(s.c_str(),',',TRUE);
} MU_XAPIAN_CATCH_BLOCK_RETURN(NULL);
}