Skip to content

Commit

Permalink
doveadm-server: http: Changed index variables from size_t to unsigned…
Browse files Browse the repository at this point in the history
… int where size_t makes no sense.
  • Loading branch information
stephanbosch committed Oct 24, 2017
1 parent 9cc49c8 commit e79e121
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/doveadm/client-connection-http.c
Expand Up @@ -646,9 +646,9 @@ static void
doveadm_http_server_send_api_v1(struct client_connection_http *conn)
{
struct ostream *output = conn->client.output;
size_t i, k;
const struct doveadm_cmd_ver2 *cmd;
const struct doveadm_cmd_param *par;
unsigned int i, k;
string_t *tmp;
bool sent;

Expand Down Expand Up @@ -729,7 +729,7 @@ static void
doveadm_http_server_print_mounts(struct client_connection_http *conn)
{
struct ostream *output = conn->client.output;
size_t i;
unsigned int i;

o_stream_nsend_str(output, "[\n");
for (i = 0; i < N_ELEMENTS(doveadm_http_server_mounts); i++) {
Expand Down Expand Up @@ -812,7 +812,7 @@ doveadm_http_server_handle_request(void *context, struct http_server_request *ht
const struct http_request *http_req =
http_server_request_get(http_sreq);
struct doveadm_http_server_mount *ep = NULL;
size_t i;
unsigned int i;

conn->http_server_request = http_sreq;
conn->http_request = http_req;
Expand Down

0 comments on commit e79e121

Please sign in to comment.