]> source.dussan.org Git - rspamd.git/commitdiff
Fix signature slightly
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 13 Dec 2015 16:58:43 +0000 (16:58 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 13 Dec 2015 23:03:41 +0000 (23:03 +0000)
src/libserver/cfg_rcl.c
src/libserver/cfg_rcl.h

index f7a9a7be462e623fb78da70bd6dfc9264d26ad8c..24e9fe605ef61d024dc1761da2c9f96967befb83 100644 (file)
@@ -2527,12 +2527,12 @@ rspamd_rcl_parse_struct_mime_addr (rspamd_mempool_t *pool,
 
 void
 rspamd_rcl_register_worker_option (struct rspamd_config *cfg,
-       gint type,
-       const gchar *name,
-       rspamd_rcl_default_handler_t handler,
-       gpointer target,
-       gsize offset,
-       gint flags)
+               gint type,
+               const gchar *name,
+               rspamd_rcl_default_handler_t handler,
+               gpointer target,
+               glong offset,
+               gint flags)
 {
        struct rspamd_worker_param_parser *nhandler;
        struct rspamd_worker_cfg_parser *nparser;
index 92b266920c032f9c9311cdd3e8e8f9917f1406f6..c242d6be901da4c825105529c18318766fa5692c 100644 (file)
@@ -318,12 +318,12 @@ gboolean rspamd_rcl_parse_struct_mime_addr (rspamd_mempool_t *pool,
  * @param offset offset inside a structure
  */
 void rspamd_rcl_register_worker_option (struct rspamd_config *cfg,
-       gint type,
-       const gchar *name,
-       rspamd_rcl_default_handler_t handler,
-       gpointer target,
-       gsize offset,
-       gint flags);
+               gint type,
+               const gchar *name,
+               rspamd_rcl_default_handler_t handler,
+               gpointer target,
+               glong offset,
+               gint flags);
 
 /**
  * Register a default parser for a worker