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 wrap: on
line diff
--- a/src/timeival.c	Thu Nov 04 14:36:47 2010 -0300
+++ b/src/timeival.c	Thu Nov 04 14:45:42 2010 -0300
@@ -22,7 +22,7 @@
 #include "masqmail.h"
 
 gint
-time_interval(gchar * str, gint * pos)
+time_interval(gchar * str)
 {
 	gchar buf[16];
 	gchar *p = str, *q = buf;
@@ -30,9 +30,7 @@
 
 	while (*p && isdigit(*p) && (q < buf + 15)) {
 		*(q++) = *(p++);
-		(*pos)++;
 	}
-	(*pos)++;
 	*q = '\0';
 	val = atoi(buf);