add more functions
This commit is contained in:
1 parent
0e60746179
commit
f438827263
4 files changed
+75
-8
No files matched your search
@@ -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