/* * check_mydomains.c, SJ */ #include "test.h" char *domains[] = { "aaaa.fu", "hajaja.kom", "auajajau.zzz", "akauejujedhj.com", "738383.com", "27281919.com", "uazazahhja.ddd" }; struct emails { char email[SMALLBUFSIZE]; int match; }; static void fill_domain_table(struct config *cfg){ unsigned int i; char buf[SMALLBUFSIZE]; struct session_data sdata; if(open_database(&sdata, cfg) == ERR){ printf("cannot open database\n"); return; } printf("adding testing domains...\n"); for(i=0; i