Mercurial > masqmail
diff src/accept.c @ 377:9bc3e47b0222
Various cleanups to remove compiler warnings.
We're clean now, if we specify `-Wno-pointer-sign'.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Sat, 14 Jan 2012 18:44:48 +0100 |
parents | b27f66555ba8 |
children | 5781ba87df95 |
line wrap: on
line diff
--- a/src/accept.c Sat Jan 14 18:20:03 2012 +0100 +++ b/src/accept.c Sat Jan 14 18:44:48 2012 +0100 @@ -42,19 +42,6 @@ return res; } -static gint -_g_list_addr_isequal(gconstpointer a, gconstpointer b) -{ - address *addr1 = (address *) a; - address *addr2 = (address *) b; - int ret; - - if ((ret = strcasecmp(addr1->domain, addr2->domain)) == 0) { - return strcmp(addr1->local_part, addr2->local_part); - } - return ret; -} - /* ** accept message from anywhere. ** A message from local is indicated by msg->recieved_host == NULL