diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-09-09 19:20:41 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-09-09 19:20:41 +0200 |
commit | 5070a6330c09d8025ce1209686cac071753589ef (patch) | |
tree | a9e16c2e3ecfb286feb9d23938771e2414cbc9bc /src/plugins/xfer/xfer-network.c | |
parent | d5cbd6c49a42593a0ccae3a6ac300c3327eb34a3 (diff) | |
download | weechat-5070a6330c09d8025ce1209686cac071753589ef.zip |
xfer: use larger buffer for IP address
This removes a gcc warning about a too small buffer.
Diffstat (limited to 'src/plugins/xfer/xfer-network.c')
-rw-r--r-- | src/plugins/xfer/xfer-network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/xfer/xfer-network.c b/src/plugins/xfer/xfer-network.c index 446c13db1..a924c5101 100644 --- a/src/plugins/xfer/xfer-network.c +++ b/src/plugins/xfer/xfer-network.c @@ -56,7 +56,7 @@ char * xfer_network_convert_integer_to_ipv4 (const char *str_address) { - char *error, result[64]; + char *error, result[128]; long number; if (!str_address || !str_address[0]) |