]> git.ipfire.org Git - thirdparty/curl.git/commit
smtp: set auth correctly
authorDaniel Stenberg <daniel@haxx.se>
Fri, 24 Apr 2020 22:22:21 +0000 (00:22 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 25 Apr 2020 12:14:43 +0000 (14:14 +0200)
commit446fb0518bd4525c679343dd88d75d13dd201be3
tree344a00c86abc91ddac67e2a5b229782af2886adb
parent6ad062ae71f13918acaf456756c2a6de5aeab70e
smtp: set auth correctly

Regression since 7.69.0 and 68fb25fa3fcff.

The code wrongly assigned 'from' instead of 'auth' which probably was a
copy and paste mistake from other code, leading to that auth could
remain NULL and later cause an error to be returned.

Assisted-by: Eric Sauvageau
Fixes #5294
Closes #5295
lib/smtp.c