From 4c6cbf03a7b14717e35ccb4356c7d8104800fb93 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Thu, 6 Jul 2017 22:26:08 +0200 Subject: [PATCH] stdint fixes --- hydra-mod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydra-mod.c b/hydra-mod.c index b2ab4c4..b87a07c 100644 --- a/hydra-mod.c +++ b/hydra-mod.c @@ -1215,7 +1215,7 @@ char *hydra_address2string(char *address) { #ifdef AF_INET6 if (address[0] == 16) { memcpy(&target6.sin6_addr, &address[1], 16); - ipstring[0] = '[ + ipstring[0] = '['; inet_ntop(AF_INET6, &target6.sin6_addr, ipstring + 1, sizeof(ipstring) - 1); if (address[17] != 0) { strcat(ipstring, "%");