diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-08 23:36:41 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-08 23:36:41 +0200 |
commit | de872dea2d88f183c3f434c694acdcdb373f639c (patch) | |
tree | fb9084eb931c9789060e65ee3be3dc5adcb30e73 /ChangeLog | |
parent | 6347f514aa2388e774d5bf356df8046864e5f73c (diff) | |
download | libmicrohttpd-de872dea2d88f183c3f434c694acdcdb373f639c.tar.gz libmicrohttpd-de872dea2d88f183c3f434c694acdcdb373f639c.zip |
define and use 'enum MHD_Result'
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ | |||
1 | Wed 08 Apr 2020 10:53:01 PM CEST | 1 | Wed 08 Apr 2020 10:53:01 PM CEST |
2 | Introduce `enum MHD_Result` for #MHD_YES/#MHD_NO to avoid using 'int' so much. -CG | 2 | Introduce `enum MHD_Result` for #MHD_YES/#MHD_NO to avoid using 'int' so much. |
3 | Note that this change WILL cause compiler warnings until (most) MHD callbacks | ||
4 | in application code change their return type from 'int' to 'enum MHD_Result'. | ||
5 | That said, avoiding possible confusions of different enums is going to make | ||
6 | the code more robust in the future. For conditional compilation, test | ||
7 | for "MHD_VERSION >= 0x00097002". -CG | ||
3 | 8 | ||
4 | Sat 07 Mar 2020 05:20:33 PM CET | 9 | Sat 07 Mar 2020 05:20:33 PM CET |
5 | Fixed #6090 (misc. severe socket handling bugs on OS X). -CG | 10 | Fixed #6090 (misc. severe socket handling bugs on OS X). -CG |