mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
smtp: use easy handle/connectin meta for proto structs
Move `struct smtp_conn` and `struct STMP` into the meta data at easy handle/connection. Remove it from the unions at connectdata and request. Closes #17257
This commit is contained in:
parent
bc46ff2d2b
commit
7b92844639
5 changed files with 320 additions and 244 deletions
|
|
@ -75,9 +75,9 @@ struct pingpong {
|
|||
|
||||
#define PINGPONG_SETUP(pp,s,e) \
|
||||
do { \
|
||||
pp->response_time = RESP_TIMEOUT; \
|
||||
pp->statemachine = s; \
|
||||
pp->endofresp = e; \
|
||||
(pp)->response_time = RESP_TIMEOUT; \
|
||||
(pp)->statemachine = s; \
|
||||
(pp)->endofresp = e; \
|
||||
} while(0)
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue