diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-09 18:44:34 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-09 18:44:34 +0000 |
commit | 9845dc6efa8f69789e7356263cbb76342d4de493 (patch) | |
tree | 038c3fd351cd2b19df16fe6ff8d7fed99d28b6a3 /src/cfg_utils.c | |
parent | 9b9221cb3732224f0d49e7e1f4adc3ea5cfd81d6 (diff) | |
download | rspamd-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.c | 2 |
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 { |