diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-02-13 18:22:20 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-02-13 18:22:20 +0000 |
commit | 0c6fa0dd648a772dc2ef3dcae02a39190e55fd2a (patch) | |
tree | 5ed13fadb37394a4be226560ca1912b5f1915ea0 | |
parent | cc8fad9a7fa6397d7b16eb52f8d6fa689eceff94 (diff) |
smtp: Removed duplicate pingpong structure initialisation
The smtp_connect() function was setting the member variables of the
pingpong structure twice, once before calling Curl_pp_init() and once
after!
-rw-r--r-- | lib/smtp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/smtp.c b/lib/smtp.c index 456d986aa..ad265f892 100644 --- a/lib/smtp.c +++ b/lib/smtp.c @@ -1347,12 +1347,6 @@ static CURLcode smtp_connect(struct connectdata *conn, bool *done) /* Initialise the response reader stuff */ Curl_pp_init(pp); - /* Set the default response time-out */ - pp->response_time = RESP_TIMEOUT; - pp->statemach_act = smtp_statemach_act; - pp->endofresp = smtp_endofresp; - pp->conn = conn; - /* Calculate the path if necessary */ if(!*path) { if(!Curl_gethostname(localhost, sizeof(localhost))) |