#ifdef HAVE_CONFIG_H #include RCSID("$Id$"); #endif #include #include #include const char * com_right(struct error_table *list, long code) { struct error_table *p; for(p = list; p; p = p->next){ if(code >= p->base && code < p->base + p->n_msgs) return p->msgs[code - p->base]; } return NULL; }