SMTP: Added support for returning SMTP response codes
authorSteve Holme <steve_holme@hotmail.com>
Wed, 22 Feb 2012 10:44:34 +0000 (10:44 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 23 Feb 2012 22:29:03 +0000 (23:29 +0100)
commit5430007222e0325a1c5e0359ecde43886cef61af
treea8753bb1968a2d05959242e35a9c2c0597da636e
parent779fa13ef9e05f6d6cf865ecb113d236b114f72f
SMTP: Added support for returning SMTP response codes

Set the conn->data->info.httpcode variable in smtp_statemach_act() to
allow Curl_getinfo() to return the SMTP response code via the
CURLINFO_RESPONSE_CODE action.
docs/libcurl/curl_easy_getinfo.3
lib/smtp.c