Explorar el Código

Fix tv_to_msec macro priority.

tags/0.7.3
Vsevolod Stakhov hace 9 años
padre
commit
c23a4b69e8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/libutil/util.h

+ 1
- 1
src/libutil/util.h Ver fichero

@@ -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);

Cargando…
Cancelar
Guardar