From 0a5827571f97feded67d6abc837c332224917f75 Mon Sep 17 00:00:00 2001 From: Erik Olsson Date: Sat, 16 Jan 2021 22:17:51 +0100 Subject: lib: save a bit of space with some structure packing - Reorder some internal struct members so that less padding is used. This is an attempt at saving a bit of space by packing some structs (using pahole to find the holes) where it might make sense to do so without losing readability. I.e., I tried to avoid separating fields that seem grouped together (like the cwd... fields in struct ftp_conn for instance). Also abstained from touching fields behind conditional macros as that quickly can get complicated. Closes https://github.com/curl/curl/pull/6483 --- lib/pop3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/pop3.h') diff --git a/lib/pop3.h b/lib/pop3.h index 6869c8d59..17629ee2d 100644 --- a/lib/pop3.h +++ b/lib/pop3.h @@ -61,6 +61,7 @@ struct pop3_conn { struct pingpong pp; pop3state state; /* Always use pop3.c:state() to change state! */ bool ssldone; /* Is connect() over SSL done? */ + bool tls_supported; /* StartTLS capability supported by server */ size_t eob; /* Number of bytes of the EOB (End Of Body) that have been received so far */ size_t strip; /* Number of bytes from the start to ignore as @@ -69,7 +70,6 @@ struct pop3_conn { unsigned int authtypes; /* Accepted authentication types */ unsigned int preftype; /* Preferred authentication type */ char *apoptimestamp; /* APOP timestamp from the server greeting */ - bool tls_supported; /* StartTLS capability supported by server */ }; extern const struct Curl_handler Curl_handler_pop3; -- cgit v1.2.1