From: Victor Julien Date: Fri, 28 Feb 2020 09:22:23 +0000 (+0100) Subject: time: fix function name typo X-Git-Tag: suricata-5.0.3~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a77f1e35f8761f6bcd4aac30fac3c5f78e07459b;p=thirdparty%2Fsuricata.git time: fix function name typo (cherry picked from commit a765494dcb6ff696daa8aeffe9595177b1772173) --- diff --git a/src/tm-threads.c b/src/tm-threads.c index aca6d96467..44b6b07c8c 100644 --- a/src/tm-threads.c +++ b/src/tm-threads.c @@ -2404,7 +2404,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 5770f2c026..e8a1df2c60 100644 --- a/src/tm-threads.h +++ b/src/tm-threads.h @@ -286,6 +286,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 d0ae294880..5aec73e3b0 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