masqmail

diff src/fail_msg.c @ 254:82d168dd52fd

removed the obsolete pos argument from time_interval()
author markus schnalke <meillo@marmaro.de>
date Thu, 04 Nov 2010 14:45:42 -0300
parents bc9d9cd9ee8e
children fc1c6425c024
line diff
     1.1 --- a/src/fail_msg.c	Thu Nov 04 14:36:47 2010 -0300
     1.2 +++ b/src/fail_msg.c	Thu Nov 04 14:45:42 2010 -0300
     1.3 @@ -133,12 +133,11 @@
     1.4  warn_msg_is_due(message * msg)
     1.5  {
     1.6  	time_t now = time(NULL);
     1.7 -	gint dummy;
     1.8  
     1.9  	GList *node;
    1.10  	for (node = g_list_last(conf.warn_intervals); node; node = g_list_previous(node)) {
    1.11  		gchar *str_ival = (gchar *) (node->data);
    1.12 -		gint ival = time_interval(str_ival, &dummy);
    1.13 +		gint ival = time_interval(str_ival);
    1.14  		if (ival >= 0) {
    1.15  			DEBUG(5) debugf("ival = %d\n", ival);
    1.16  			DEBUG(5) debugf("now - msg->received_time = %d\n", now - msg->received_time);