int prog, ch; char *p;  prog = atoi(opt); if(prog < 0 || prog > 127) { ctl->cmsg(CMSG_ERROR, VERB_NORMAL, "Default program must be between 0 and 127"); return -1; }  p = strchr(opt, '/'); if(p == NULL) for(ch = 0; ch < MAX_CHANNELS; ch++) default_program[ch] = prog; else { ch = atoi(p + 1) - 1; if(ch < 0 || ch >= MAX_CHANNELS) { ctl->cmsg(CMSG_ERROR, VERB_NORMAL, "Default program channel must be between 1 and %d", MAX_CHANNELS); return -1; 
int prog, ch; char *p;  prog = atoi(opt); if (prog < 0 || prog > 127) { ctl->cmsg(CMSG_ERROR, VERB_NORMAL, "Default program must be between 0 and 127"); return -1; 
MAIN_INTERFACE int set_default_prog(char *opt){    int prog, ch;    char *p;    prog = atoi(opt);    if(prog < 0 || prog > 127)    {      	ctl->cmsg(CMSG_ERROR, VERB_NORMAL,		  "Default program must be between 0 and 127");	return -1;    }    p = strchr(opt, '/');    if(p == NULL)	for(ch = 0; ch < MAX_CHANNELS; ch++)	    default_program[ch] = prog;    else    {	ch = atoi(p + 1) - 1;	if(ch < 0 || ch >= MAX_CHANNELS)	{	    ctl->cmsg(CMSG_ERROR, VERB_NORMAL,		      "Default program channel must be between 1 and %d",		      MAX_CHANNELS);	    return -1;	}	default_program[ch] = prog;    }    return 0;}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/05e0d0134a449b1c423ad80ee42fd2a85a05e7b9/timidity.c/clean/timidity/timidity.c