commit 09eef156ab48f475c4b38caca96d36a519f8984b parent f9fa7b9686b50604b82d71240b1009d38029e57c Author: nion@h4447.serverkompetenz.net <unknown> Date: Mon, 13 Mar 2006 15:19:37 +0100 small fix Diffstat:
M | ii.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ii.c b/ii.c @@ -206,7 +206,7 @@ static size_t tokenize(char **result, size_t reslen, char *str, char delim) } else n++; } - if(i<reslen) + if(i<reslen && p < n && strlen(p)) result[i++] = p; return i; /* number of tokens */ }