#include <string.h>

#include "extern.h"

reccont()
    {
	 FILE *fpz;

	 if ( ! rflg ) return(0);

	 rsclose();   /* M֎~ */

     fpz = fopen(rcv_fil,"r");
     while(1)
     {   fp2 = fopen(temp_fil,"w");
         while (1)
         { if ( fgets(fbuff,255,fpz) == NULL ) break; 
           if ( strncmp(fbuff,mlstr,34) == NULL ) break;
           if ( strncmp(fbuff,filstr,34) == NULL ) break;
           fputs(fbuff,fp2);
         }
         fclose(fp2);
         if ( strncmp(fbuff,mlstr,34) == NULL )  { filwrite(1); continue; }
         if ( strncmp(fbuff,filstr,34) == NULL ) { filwrite(0); continue; }
         break;
     }
    fclose(fpz);

	rsopen();

    return(0);
    }
