summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-05-24 21:08:10 +0200
committerSébastien Helleu <flashcode@flashtux.org>2024-05-24 21:08:10 +0200
commit52942495153978156a0832d8898ff4d7b732c6a8 (patch)
tree9168915d25385fecd995f7e80ffef36edab6b5ac /po
parent2b81cce9e06e4809b7a84fb658f5716a4da823cd (diff)
downloadweechat-52942495153978156a0832d8898ff4d7b732c6a8.zip
relay: fix compiler warning in call to snprintf
This fixes the following warning emitted by gcc: …/relay-http.c:1207:32: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 64 [-Wformat-truncation=] 1207 | "%s[%d bytes data]", | ^~ 1208 | str_header, | ~~~~~~~~~~ …/relay-http.c:1207:31: note: directive argument in the range [1, 2147483647] 1207 | "%s[%d bytes data]", | ^~~~~~~~~~~~~~~~~~~ …/relay-http.c:1206:21: note: ‘snprintf’ output between 15 and 1047 bytes into a destination of size 64 1206 | snprintf (raw_message, length_raw, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1207 | "%s[%d bytes data]", | ~~~~~~~~~~~~~~~~~~~~ 1208 | str_header, | ~~~~~~~~~~~ 1209 | *ptr_body_size); | ~~~~~~~~~~~~~~~
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions