/* @str: String to split @firstp: Returns first string @secondp: Returns second string  */
static int get_two_words(const char *str, char **firstp, char **secondp)
/* @str: String to split @firstp: Returns first string @secondp: Returns second string  */
static int get_two_words(const char *str, char **firstp, char **secondp)
{
	const char *p;
	p = strchr(str, ':');
	if (!p)
		return -1;
	*firstp = strdup(str);
	(*firstp)[p - str] = '\0';
	*secondp = strdup(p + 1);
	return 0;
}