masqmail

diff src/timeival.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 f671821d8222
children 2e7d3a02edb1
line diff
     1.1 --- a/src/timeival.c	Thu Nov 04 14:36:47 2010 -0300
     1.2 +++ b/src/timeival.c	Thu Nov 04 14:45:42 2010 -0300
     1.3 @@ -22,7 +22,7 @@
     1.4  #include "masqmail.h"
     1.5  
     1.6  gint
     1.7 -time_interval(gchar * str, gint * pos)
     1.8 +time_interval(gchar * str)
     1.9  {
    1.10  	gchar buf[16];
    1.11  	gchar *p = str, *q = buf;
    1.12 @@ -30,9 +30,7 @@
    1.13  
    1.14  	while (*p && isdigit(*p) && (q < buf + 15)) {
    1.15  		*(q++) = *(p++);
    1.16 -		(*pos)++;
    1.17  	}
    1.18 -	(*pos)++;
    1.19  	*q = '\0';
    1.20  	val = atoi(buf);
    1.21