summaryrefslogtreecommitdiffstats
path: root/src/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-09 18:44:34 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-09 18:44:34 +0000
commit9845dc6efa8f69789e7356263cbb76342d4de493 (patch)
tree038c3fd351cd2b19df16fe6ff8d7fed99d28b6a3 /src/cfg_utils.c
parent9b9221cb3732224f0d49e7e1f4adc3ea5cfd81d6 (diff)
downloadrspamd-9845dc6efa8f69789e7356263cbb76342d4de493.tar.gz
rspamd-9845dc6efa8f69789e7356263cbb76342d4de493.zip
Unify http code for client and server.
Diffstat (limited to 'src/cfg_utils.c')
-rw-r--r--src/cfg_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cfg_utils.c b/src/cfg_utils.c
index 56310669e..9216fb6ef 100644
--- a/src/cfg_utils.c
+++ b/src/cfg_utils.c
@@ -125,7 +125,7 @@ parse_host_port_priority_strv (memory_pool_t *pool, gchar **tokens,
}
}
else if (default_port != 0) {
- rspamd_snprintf (portbuf, sizeof (portbuf), "%u", default_port);
+ rspamd_snprintf (portbuf, sizeof (portbuf), "%ud", default_port);
cur_port = portbuf;
}
else {