comparison src/dnsbl.cpp @ 244:ef97c7cd4a6e stable-6-0-27

const correctness fixes from new gcc, libresolv.a moved to glibc-static on newer distributions
author Carl Byington <carl@five-ten-sg.com>
date Mon, 15 Aug 2011 21:08:11 -0700
parents d8ee4c97b9ab
children 8b0f16abee53
comparison
equal deleted inserted replaced
243:b4bcc42c30ef 244:ef97c7cd4a6e
671 if (helo) { 671 if (helo) {
672 helo_uribl = check_uribl(*this, hosts_uribl, helo, host_uribl); 672 helo_uribl = check_uribl(*this, hosts_uribl, helo, host_uribl);
673 if (client_name && !helo_uribl) { 673 if (client_name && !helo_uribl) {
674 client_uribl = check_uribl(*this, hosts_uribl, client_name, host_uribl); 674 client_uribl = check_uribl(*this, hosts_uribl, client_name, host_uribl);
675 if (mailaddr && !client_uribl) { 675 if (mailaddr && !client_uribl) {
676 char *f = strchr(mailaddr, '@'); 676 const char *f = strchr(mailaddr, '@');
677 if (f) from_uribl = check_uribl(*this, hosts_uribl, f+1, host_uribl); 677 if (f) from_uribl = check_uribl(*this, hosts_uribl, f+1, host_uribl);
678 } 678 }
679 } 679 }
680 } 680 }
681 } 681 }
1551 token_init(); 1551 token_init();
1552 bool check = false; 1552 bool check = false;
1553 bool stress = false; 1553 bool stress = false;
1554 bool setconn = false; 1554 bool setconn = false;
1555 bool setreso = false; 1555 bool setreso = false;
1556 const char *email = NULL; 1556 char *email = NULL;
1557 int c; 1557 int c;
1558 const char *args = "b:r:p:t:e:d:chs"; 1558 const char *args = "b:r:p:t:e:d:chs";
1559 extern char *optarg; 1559 extern char *optarg;
1560 1560
1561 // setup srs coding detection 1561 // setup srs coding detection