diff options
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 { |