commit f9fa7b9686b50604b82d71240b1009d38029e57c parent 35916ebddc6b6621893ce171fa1282e66a2aeda6 Author: Anselm R. Garbe <garbeam@wmii.de> Date: Mon, 13 Mar 2006 08:29:49 +0100 fixing retval of tokenize Diffstat:
M | ii.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ii.c b/ii.c @@ -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)