aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-05 17:48:20 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-05 17:48:20 +0400
commit52e71f9ed43b0e0f7f030eb0f0b56a887978cf8a (patch)
tree9496a3ea6f3b95006554b003e01425e6b68b2765 /src/util.h
parentbae637bec8e9c23668cbacbb9f5a1bd829cae487 (diff)
downloadrspamd-52e71f9ed43b0e0f7f030eb0f0b56a887978cf8a.tar.gz
rspamd-52e71f9ed43b0e0f7f030eb0f0b56a887978cf8a.zip
* Fix detection of numeric urls (reported by citrin)
* Write real time of message's scan to log (not only virtual)
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 89a430d52..b3e9338ab 100644
--- a/src/util.h
+++ b/src/util.h
@@ -65,7 +65,7 @@ int pidfile_remove(struct pidfh *pfh);
/* Replace %r with rcpt value and %f with from value, new string is allocated in pool */
char* resolve_stat_filename (memory_pool_t *pool, char *pattern, char *rcpt, char *from);
#ifdef HAVE_CLOCK_GETTIME
-const char* calculate_check_time (struct timespec *begin, int resolution);
+const char* calculate_check_time (struct timeval *tv, struct timespec *begin, int resolution);
#else
const char* calculate_check_time (struct timeval *begin, int resolution);
#endif