Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FILE* fp = fopen("/etc/hosts", "r");
- Blocked = NO;
- if(fp != NULL)
- {
- while(!feof(fp))
- {
- if(fgets(Temp, 95, fp) == NULL) break;
- if(strstr(Temp, "mm.admob.com") != NULL)
- {
- Blocked = YES;
- }
- }
- fclose(fp);
- }
Add Comment
Please, Sign In to add comment