]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: s/unsigned int:1/bool:1/
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 20 Jun 2016 17:47:57 +0000 (20:47 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 20 Jun 2016 17:47:57 +0000 (20:47 +0300)
src/lib-http/test-http-server-errors.c

index 9c432ce3c60e7c1df1e3a1420b98c07d300c7f9a..3f5b416adcde036051d29079bdf856999452368e 100644 (file)
@@ -112,7 +112,7 @@ static void test_client_slow_request(unsigned int index)
 struct _slow_request {
        struct http_server_request *req;
        struct timeout *to_delay;
-       unsigned int serviced:1;
+       bool serviced:1;
 };
 
 static void
@@ -216,7 +216,7 @@ struct _hanging_request_payload {
        struct http_server_request *req;
        struct istream *payload_input;
        struct io *io;
-       unsigned int serviced:1;
+       bool serviced:1;
 };
 
 static void
@@ -352,7 +352,7 @@ struct _hanging_response_payload {
        struct http_server_request *req;
        struct istream *payload_input;
        struct io *io;
-       unsigned int serviced:1;
+       bool serviced:1;
 };
 
 static void