]> granicus.if.org Git - curl/commit
snprintf: renamed and we now only use msnprintf()
authorDaniel Stenberg <daniel@haxx.se>
Thu, 22 Nov 2018 08:01:24 +0000 (09:01 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 23 Nov 2018 07:26:51 +0000 (08:26 +0100)
commitdcd6f810255785d52b89150e18460fb0899d4f7e
treec3cb7cdcb79dbf752edcd997934e44a2e9998397
parent9944d6ba334f07b0b6199bdb5bb82091c88c16ed
snprintf: renamed and we now only use msnprintf()

The function does not return the same value as snprintf() normally does,
so readers may be mislead into thinking the code works differently than
it actually does. A different function name makes this easier to detect.

Reported-by: Tomas Hoger
Assisted-by: Daniel Gustafsson
Fixes #3296
Closes #3297
92 files changed:
docs/examples/Makefile.am
lib/asyn-thread.c
lib/base64.c
lib/conncache.c
lib/connect.c
lib/curl_gssapi.c
lib/curl_ntlm_core.c
lib/curl_printf.h
lib/curlx.h
lib/doh.c
lib/escape.c
lib/file.c
lib/ftp.c
lib/hostip4.c
lib/hostip6.c
lib/http.c
lib/http2.c
lib/if2ip.c
lib/imap.c
lib/inet_ntop.c
lib/memdebug.c
lib/multi.c
lib/openldap.c
lib/pop3.c
lib/progress.c
lib/security.c
lib/sendf.c
lib/socks_gssapi.c
lib/socks_sspi.c
lib/ssh-libssh.c
lib/ssh.c
lib/strerror.c
lib/telnet.c
lib/tftp.c
lib/transfer.c
lib/url.c
lib/urlapi.c
lib/vauth/digest.c
lib/vauth/ntlm.c
lib/version.c
lib/vtls/cyassl.c
lib/vtls/darwinssl.c
lib/vtls/gskit.c
lib/vtls/gtls.c
lib/vtls/mbedtls.c
lib/vtls/mesalink.c
lib/vtls/nss.c
lib/vtls/openssl.c
lib/vtls/polarssl.c
lib/vtls/schannel.c
lib/vtls/vtls.c
lib/x509asn1.c
src/tool_cb_dbg.c
src/tool_cb_hdr.c
src/tool_cb_prg.c
src/tool_dirhie.c
src/tool_getparam.c
src/tool_operhlp.c
src/tool_parsecfg.c
src/tool_setopt.c
src/tool_urlglob.c
tests/libtest/chkdecimalpoint.c
tests/libtest/first.c
tests/libtest/lib1156.c
tests/libtest/lib1502.c
tests/libtest/lib1506.c
tests/libtest/lib1510.c
tests/libtest/lib1512.c
tests/libtest/lib1515.c
tests/libtest/lib1529.c
tests/libtest/lib1560.c
tests/libtest/lib1900.c
tests/libtest/lib518.c
tests/libtest/lib530.c
tests/libtest/lib537.c
tests/libtest/lib540.c
tests/libtest/lib553.c
tests/libtest/libauthretry.c
tests/libtest/libntlmconnect.c
tests/libtest/stub_gssapi.c
tests/libtest/testtrace.c
tests/server/fake_ntlm.c
tests/server/rtspd.c
tests/server/sockfilt.c
tests/server/sws.c
tests/server/tftpd.c
tests/server/util.c
tests/unit/unit1398.c
tests/unit/unit1399.c
tests/unit/unit1604.c
tests/unit/unit1650.c
tests/unit/unit1652.c