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 diff
1.1 --- a/src/accept.c Sat Jan 14 18:20:03 2012 +0100 1.2 +++ b/src/accept.c Sat Jan 14 18:44:48 2012 +0100 1.3 @@ -42,19 +42,6 @@ 1.4 return res; 1.5 } 1.6 1.7 -static gint 1.8 -_g_list_addr_isequal(gconstpointer a, gconstpointer b) 1.9 -{ 1.10 - address *addr1 = (address *) a; 1.11 - address *addr2 = (address *) b; 1.12 - int ret; 1.13 - 1.14 - if ((ret = strcasecmp(addr1->domain, addr2->domain)) == 0) { 1.15 - return strcmp(addr1->local_part, addr2->local_part); 1.16 - } 1.17 - return ret; 1.18 -} 1.19 - 1.20 /* 1.21 ** accept message from anywhere. 1.22 ** A message from local is indicated by msg->recieved_host == NULL