Browse Source

Fix tv_to_msec macro priority.

tags/0.7.3
Vsevolod Stakhov 9 years ago
parent
commit
c23a4b69e8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/libutil/util.h

+ 1
- 1
src/libutil/util.h View File

@@ -243,7 +243,7 @@ gsize rspamd_strlcpy_tolower (gchar *dst, const gchar *src, gsize siz);
#define double_to_tv(dbl, tv) do { (tv)->tv_sec = (int)(dbl); (tv)->tv_usec = \
((dbl) - (int)(dbl)) * 1000 * 1000; \
} while (0)
#define tv_to_msec(tv) (tv)->tv_sec * 1000LLU + (tv)->tv_usec / 1000LLU
#define tv_to_msec(tv) ((tv)->tv_sec * 1000LLU + (tv)->tv_usec / 1000LLU)

/* Compare two emails for building emails tree */
gint compare_email_func (gconstpointer a, gconstpointer b);

Loading…
Cancel
Save