Commit 7ad5eedc authored by Liam E. Roeth's avatar Liam E. Roeth

bugfix

parent ab54b623
...@@ -41,7 +41,7 @@ NODE_ERR psearch(NODE *head, datatype data){ ...@@ -41,7 +41,7 @@ NODE_ERR psearch(NODE *head, datatype data){
} }
NODE_ERR search(NODE *head, datatype data){ NODE_ERR search(NODE *head, datatype data){
NODE_ERR currentNode; NODE_ERR curr;
curr.node = head; curr.node = head;
int i; int i;
for(i=0;curr.node != NULL;i++){ for(i=0;curr.node != NULL;i++){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment