aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-09-16 20:11:19 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-09-16 20:11:19 +0400
commit541141904719d0d5a7a48ee14fcda87d702ccdde (patch)
tree89690c97d3a23e1d9684a784980545b0d4920be4 /src/buffer.h
parent2d81eded1e64737d2ecca278efc2a84be7dbd8f5 (diff)
downloadrspamd-541141904719d0d5a7a48ee14fcda87d702ccdde.tar.gz
rspamd-541141904719d0d5a7a48ee14fcda87d702ccdde.zip
Force restful replies for restful sessions (not tested with all commands).
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 235497aa2..11b03bca4 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -96,7 +96,7 @@ void rspamd_set_dispatcher_policy (rspamd_io_dispatcher_t *d,
* @param len length of data
*/
gboolean rspamd_dispatcher_write (rspamd_io_dispatcher_t *d,
- void *data,
+ const void *data,
size_t len, gboolean delayed, gboolean allocated) G_GNUC_WARN_UNUSED_RESULT;
/**