home *** CD-ROM | disk | FTP | other *** search
- #include "stdio.h"
- FILE *fp, *fp2;
-
- char buf[200];
- char *passmsg="test2 pass complete";
-
- main()
- {
- fp=fopen("test2.c","r");
- if(fp==NULL)
- {
- send_md_msg(1,"Error opening file.",30);
- goto leave;
- }
- while(fgets(buf,80,fp)!=NULL);
- fclose(fp);
- leave:
- send_md_msg(1,passmsg, strlen(passmsg)+1);
- }
-
-
-