Changed type of name argument to m_getfld() from unsigned char *