diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-02-14 16:48:35 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-02-14 16:48:35 +0100 |
commit | f1512b46b27808b0f1987a93671757e7b553eb42 (patch) | |
tree | adb96668a6a9b8d439222a2e0131dfc4aaaf3906 /src/microhttpd/internal.h | |
parent | 805182fb262d39802c3af2a79a1d39c0d5dd69fb (diff) | |
download | libmicrohttpd-f1512b46b27808b0f1987a93671757e7b553eb42.tar.gz libmicrohttpd-f1512b46b27808b0f1987a93671757e7b553eb42.zip |
convert more int to bool
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r-- | src/microhttpd/internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index fd2a44bb..8b15db97 100644 --- a/src/microhttpd/internal.h +++ b/src/microhttpd/internal.h | |||
@@ -1095,7 +1095,7 @@ struct MHD_UpgradeResponseHandle | |||
1095 | #endif /* HTTPS_SUPPORT */ | 1095 | #endif /* HTTPS_SUPPORT */ |
1096 | 1096 | ||
1097 | /** | 1097 | /** |
1098 | * Set to #MHD_YES after the application finished with the socket | 1098 | * Set to true after the application finished with the socket |
1099 | * by #MHD_UPGRADE_ACTION_CLOSE. | 1099 | * by #MHD_UPGRADE_ACTION_CLOSE. |
1100 | * | 1100 | * |
1101 | * When BOTH @e was_closed (changed by command from application) | 1101 | * When BOTH @e was_closed (changed by command from application) |
@@ -1104,7 +1104,7 @@ struct MHD_UpgradeResponseHandle | |||
1104 | * connection to cleanup list. | 1104 | * connection to cleanup list. |
1105 | * @remark This flag could be changed from any thread. | 1105 | * @remark This flag could be changed from any thread. |
1106 | */ | 1106 | */ |
1107 | int was_closed; | 1107 | bool was_closed; |
1108 | 1108 | ||
1109 | /** | 1109 | /** |
1110 | * Set to #MHD_YES if connection is ready for cleanup. | 1110 | * Set to #MHD_YES if connection is ready for cleanup. |