Commit 22995973 authored by Zara Saldanha's avatar Zara Saldanha

Update ishell.c

parent 06b6dcfd
......@@ -142,7 +142,7 @@ int main(){
}
//compare two strings (problem 5)
if(strcmp(argv[0], "compare\n")==0){
if(strcmp(argv[0], "compare")==0){
if(compare(argv)==1){
printf("Both strings are the same!\n");
} else {
......
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