From: Victor Julien Date: Fri, 28 Feb 2020 09:22:23 +0000 (+0100) Subject: time: fix function name typo X-Git-Tag: suricata-6.0.0-beta1~692 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6176338d0b0bbce1771d73ee3683923dec97c330;p=thirdparty%2Fsuricata.git time: fix function name typo --- diff --git a/src/tm-threads.c b/src/tm-threads.c index c772823190..99a5149c0a 100644 --- a/src/tm-threads.c +++ b/src/tm-threads.c @@ -2229,7 +2229,7 @@ void TmThreadsSetThreadTimestamp(const int id, const struct timeval *ts) } #define COPY_TIMESTAMP(src,dst) ((dst)->tv_sec = (src)->tv_sec, (dst)->tv_usec = (src)->tv_usec) // XXX unify with flow-util.h -void TmreadsGetMinimalTimestamp(struct timeval *ts) +void TmThreadsGetMinimalTimestamp(struct timeval *ts) { struct timeval local, nullts; memset(&local, 0, sizeof(local)); diff --git a/src/tm-threads.h b/src/tm-threads.h index 54ef9c4c73..3316145ad2 100644 --- a/src/tm-threads.h +++ b/src/tm-threads.h @@ -241,6 +241,6 @@ void TmThreadsUnregisterThread(const int id); int TmThreadsInjectPacketsById(Packet **, int id); void TmThreadsSetThreadTimestamp(const int id, const struct timeval *ts); -void TmreadsGetMinimalTimestamp(struct timeval *ts); +void TmThreadsGetMinimalTimestamp(struct timeval *ts); #endif /* __TM_THREADS_H__ */ diff --git a/src/util-time.c b/src/util-time.c index f1a1834ca0..20765431a4 100644 --- a/src/util-time.c +++ b/src/util-time.c @@ -159,7 +159,7 @@ void TimeGet(struct timeval *tv) SCSpinUnlock(¤t_time_spinlock); } else { #endif - TmreadsGetMinimalTimestamp(tv); + TmThreadsGetMinimalTimestamp(tv); #ifdef UNITTESTS } #endif