fixing retval of tokenize

This commit is contained in:
Anselm R. Garbe 2006-03-13 08:29:49 +01:00
parent 35916ebddc
commit f9fa7b9686

2
ii.c
View File

@ -208,7 +208,7 @@ static size_t tokenize(char **result, size_t reslen, char *str, char delim)
}
if(i<reslen)
result[i++] = p;
return i + 2; /* number of tokens */
return i; /* number of tokens */
}
static void print_out(char *channel, char *buf)