ver_str_to_int
static int ver_str_to_int(char *);
if ((version = ver_str_to_int(buf2)) == -1) {
if ((version = ver_str_to_int(sp)) == -1) {