caif: handle snprintf() return