diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-11-13 18:52:33 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-11-13 18:52:33 +0100 |
commit | 53673f6b2174dd752abde08c0181093e9aca7b71 (patch) | |
tree | ab13593c8e1848d088086a6bf9891eff88c88b07 /src/microhttpd/internal.h | |
parent | 280232dc1e9a6e26b13530c5e576880151935b19 (diff) | |
download | libmicrohttpd-53673f6b2174dd752abde08c0181093e9aca7b71.tar.gz libmicrohttpd-53673f6b2174dd752abde08c0181093e9aca7b71.zip |
use 'bool' for a few more internal fields
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r-- | src/microhttpd/internal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index b6426df0..a58d85a9 100644 --- a/src/microhttpd/internal.h +++ b/src/microhttpd/internal.h | |||
@@ -811,7 +811,7 @@ struct MHD_Connection | |||
811 | * Are we currently inside the "idle" handler (to avoid recursively | 811 | * Are we currently inside the "idle" handler (to avoid recursively |
812 | * invoking it). | 812 | * invoking it). |
813 | */ | 813 | */ |
814 | int in_idle; | 814 | bool in_idle; |
815 | 815 | ||
816 | /** | 816 | /** |
817 | * Are we currently inside the "idle" handler (to avoid recursively | 817 | * Are we currently inside the "idle" handler (to avoid recursively |
@@ -941,12 +941,12 @@ struct MHD_Connection | |||
941 | /** | 941 | /** |
942 | * Is the connection suspended? | 942 | * Is the connection suspended? |
943 | */ | 943 | */ |
944 | int suspended; | 944 | bool suspended; |
945 | 945 | ||
946 | /** | 946 | /** |
947 | * Is the connection wanting to resume? | 947 | * Is the connection wanting to resume? |
948 | */ | 948 | */ |
949 | int resuming; | 949 | bool resuming; |
950 | }; | 950 | }; |
951 | 951 | ||
952 | 952 | ||
@@ -1433,7 +1433,7 @@ struct MHD_Daemon | |||
1433 | /* | 1433 | /* |
1434 | * Do we need to process resuming connections? | 1434 | * Do we need to process resuming connections? |
1435 | */ | 1435 | */ |
1436 | int resuming; | 1436 | bool resuming; |
1437 | 1437 | ||
1438 | /** | 1438 | /** |
1439 | * Number of active parallel connections. | 1439 | * Number of active parallel connections. |