ftp: fix Curl_ftpsendf()
authorDaniel Stenberg <daniel@haxx.se>
Sat, 8 Oct 2016 11:39:29 +0000 (13:39 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 8 Oct 2016 13:13:46 +0000 (15:13 +0200)
commit8238ba9c5f10414a88f502bf3f5d5a42d632984c
treeeeeb5d93d5435b83f678a54bdffd52d0c287c846
parent9885c9508ec757f7f658dab11658e4a3e643a420
ftp: fix Curl_ftpsendf()

... it no longer takes printf() arguments since it was only really taken
advantage by one user and it was not written and used in a safe
way. Thus the 'f' is removed from the function name and the proto is
changed.

Although the current code wouldn't end up in badness, it was a risk that
future changes could end up springf()ing too large data or passing in a
format string inadvertently.
lib/ftp.c
lib/ftp.h
lib/krb5.c
lib/security.c