MAX_FIELDS
char *fields[MAX_FIELDS];
nfields = split(buf, fields, MAX_FIELDS, msg, sizeof msg);
if (nfields >= MAX_FIELDS) {