summaryrefslogtreecommitdiff
path: root/src/core/hook/wee-hook-connect.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-10-01 22:21:43 +0200
committerSébastien Helleu <flashcode@flashtux.org>2018-10-01 22:21:43 +0200
commit50567b0f64282e587ff589811ac1499f004d62f6 (patch)
tree9ec8b80b39ebe076575c9e1c1f997924fce184e3 /src/core/hook/wee-hook-connect.c
parent8abd05fe3d1b5acb611d66b98bce5dc3f8002d9f (diff)
downloadweechat-50567b0f64282e587ff589811ac1499f004d62f6.zip
core: add missing argument in call to log_printf
Diffstat (limited to 'src/core/hook/wee-hook-connect.c')
-rw-r--r--src/core/hook/wee-hook-connect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hook/wee-hook-connect.c b/src/core/hook/wee-hook-connect.c
index 5282d6490..524ed0791 100644
--- a/src/core/hook/wee-hook-connect.c
+++ b/src/core/hook/wee-hook-connect.c
@@ -413,8 +413,8 @@ hook_connect_print_log (struct t_hook *hook)
{
for (i = 0; i < HOOK_CONNECT_MAX_SOCKETS; i++)
{
- log_printf (" sock_v4[%d]. . . . . . : '%d'", HOOK_CONNECT(hook, sock_v4[i]));
- log_printf (" sock_v6[%d]. . . . . . : '%d'", HOOK_CONNECT(hook, sock_v6[i]));
+ log_printf (" sock_v4[%03d]. . . . . : '%d'", i, HOOK_CONNECT(hook, sock_v4[i]));
+ log_printf (" sock_v6[%03d]. . . . . : '%d'", i, HOOK_CONNECT(hook, sock_v6[i]));
}
}
}