summaryrefslogtreecommitdiffstats
path: root/src/dkim.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-06-04 23:48:11 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-06-04 23:48:11 +0400
commit75f3cf52fcb5421d98fd1a2ab0d9ae50d0ef3b1e (patch)
tree5381438362fec20c7582495da32e14d167aec216 /src/dkim.c
parentf7bb8b73f04fcb3b4b815e956155e4f3df6eb486 (diff)
downloadrspamd-75f3cf52fcb5421d98fd1a2ab0d9ae50d0ef3b1e.tar.gz
rspamd-75f3cf52fcb5421d98fd1a2ab0d9ae50d0ef3b1e.zip
Change ptr array creation function.
Diffstat (limited to 'src/dkim.c')
-rw-r--r--src/dkim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dkim.c b/src/dkim.c
index bd5d5c563..d50ddc0eb 100644
--- a/src/dkim.c
+++ b/src/dkim.c
@@ -225,7 +225,7 @@ rspamd_dkim_parse_hdrlist (rspamd_dkim_context_t* ctx, const gchar *param, gsize
}
if (count > 0) {
- ctx->hlist = g_ptr_array_new_full (count, NULL);
+ ctx->hlist = g_ptr_array_sized_new (count);
}
else {
return FALSE;