Commit 4a50fd11 authored by Nilesh Jagdish's avatar Nilesh Jagdish

modified

parent 013ac826
...@@ -727,17 +727,17 @@ struct n2 * checkfile(struct n2 *h2,char *s){ ...@@ -727,17 +727,17 @@ struct n2 * checkfile(struct n2 *h2,char *s){
{ {
if(h2==NULL){ if(h2==NULL){
printf("return \n"); // printf("return \n");
return NULL; return NULL;
} }
else{ else{
printf("%s = %s \n",h2->filename,s); // printf("%s = %s \n",h2->filename,s);
if(strcmp(h2->filename,s)==0){ if(strcmp(h2->filename,s)==0){
printf("if \n"); printf("if \n");
return h2;} return h2;}
else{ else{
h2=h2->pointer; h2=h2->pointer;
printf("else \n"); // printf("else \n");
} }
} }
} }
......
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