add more functions
This commit is contained in:
@@ -221,7 +221,7 @@ int str_str_index(int index, char **out){
|
||||
dict_str_str *temp;
|
||||
temp = str_str_table;
|
||||
|
||||
for (int i = 0; i < (index - 1); i++){
|
||||
for (int i = 0; i < index; i++){
|
||||
if (temp == NULL)
|
||||
return -1;
|
||||
temp = temp->next;
|
||||
|
||||
Reference in New Issue
Block a user