add more functions

This commit is contained in:
Such Meme, Many Skill committed 2020-04-01 13:57:25 +02:00
1 parent 0e60746179
commit f438827263
4 files changed
+75 -8

No files matched your search

+1 -1
View File
@@ -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;