optstr = strtok((char *)NULL, ":")) {
optstr = strtok(NULL, ":")) {
extern char *msgparseopts(msgstr, doset)	char *msgstr;	int doset;{	static char ebuf[BUFSIZ], msgbuf[MSGBUFSIZ];	register char *cp, *optstr;	register char *word;	MSGFACILITY *msgfac;	if (msgstr == NULL)		return("NULL message string");	/* strtok() is harmful */	(void) strcpy(msgbuf, msgstr);	/*	 * Each <facility>=<types> list is seperated by ":".	 */	for (optstr = strtok(msgbuf, ":"); optstr;	     optstr = strtok((char *)NULL, ":")) {		if ((cp = strchr(optstr, '=')) == NULL)			return("No '=' found");		*cp++ = CNULL;		word = optstr;		if ((int)strlen(word) <= 0)			return("No message facility specified");		if ((int)strlen(cp) <= 0)			return("No message type specified");		if ((msgfac = getmsgfac(word)) == NULL) {			(void) snprintf(ebuf, sizeof(ebuf),					"%s is not a valid message facility", 					word);			return(ebuf);		}				if (doset) {			char *mcp;			if (mcp = setmsgtypes(msgfac, cp))				return(mcp);		}	}	if (isserver && debug) {		debugmsg(DM_MISC, "%s", getversion());		msgprconfig();	}	return((char *) NULL);}