diff options
| author | Julian Andres Klode <jak@debian.org> | 2021-11-23 20:20:13 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2021-11-23 20:20:13 +0000 |
| commit | 147671e79ae949e2691b8f38a53d1a00b593577b (patch) | |
| tree | 9b3f0acef4bd6f981313f310c32643ef0954b2fd /methods/basehttp.h | |
| parent | 383d168b70706facfef5c8736300112cbe08a03e (diff) | |
| parent | 6f35750118a06e9d11e6aa7ab29f4ef01b75898b (diff) | |
Merge branch 'ck/fix-basehttp-enum' into 'main'
basehttp: Rename HaveContent's Tristate
See merge request apt-team/apt!202
Diffstat (limited to 'methods/basehttp.h')
| -rw-r--r-- | methods/basehttp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/methods/basehttp.h b/methods/basehttp.h index 2a13c7abf..0f776b0a8 100644 --- a/methods/basehttp.h +++ b/methods/basehttp.h @@ -29,9 +29,9 @@ struct ServerState; enum class HaveContent { - UNKNOWN, - FALSE, - TRUE, + TRI_UNKNOWN, + TRI_FALSE, + TRI_TRUE, }; struct RequestState { @@ -52,7 +52,7 @@ struct RequestState unsigned long long MaximumSize = 0; time_t Date; - HaveContent haveContent = HaveContent::UNKNOWN; + HaveContent haveContent = HaveContent::TRI_UNKNOWN; enum {Chunked,Stream,Closes} Encoding = Closes; enum {Header, Data} State = Header; |
