diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-12 14:14:48 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-12 14:14:48 +0300 |
commit | 69854dc4359ae3ba16ddd65d51741bdf302d8cfb (patch) | |
tree | 7abd2aee8e2e31f6d46db5e843d56753ce1b3479 | |
parent | b4f1e487de8a91186b3a29ea7949473fb911c240 (diff) | |
download | libmicrohttpd-69854dc4359ae3ba16ddd65d51741bdf302d8cfb.tar.gz libmicrohttpd-69854dc4359ae3ba16ddd65d51741bdf302d8cfb.zip |
mhd_send: fixed formatting style
-rw-r--r-- | src/microhttpd/mhd_send.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c index b4a192a9..f0ebd38d 100644 --- a/src/microhttpd/mhd_send.c +++ b/src/microhttpd/mhd_send.c | |||
@@ -1524,7 +1524,7 @@ send_iov_nontls (struct MHD_Connection *connection, | |||
1524 | mhd_assert (r_iov->cnt > r_iov->sent); | 1524 | mhd_assert (r_iov->cnt > r_iov->sent); |
1525 | /* The last iov element has been partially sent */ | 1525 | /* The last iov element has been partially sent */ |
1526 | r_iov->iov[r_iov->sent].iov_base = | 1526 | r_iov->iov[r_iov->sent].iov_base = |
1527 | (void*) ((uint8_t*) r_iov->iov[r_iov->sent].iov_base + (size_t) res); | 1527 | (void *) ((uint8_t *) r_iov->iov[r_iov->sent].iov_base + (size_t) res); |
1528 | r_iov->iov[r_iov->sent].iov_len -= (MHD_iov_size_) res; | 1528 | r_iov->iov[r_iov->sent].iov_len -= (MHD_iov_size_) res; |
1529 | } | 1529 | } |
1530 | } | 1530 | } |
@@ -1592,7 +1592,7 @@ send_iov_emu (struct MHD_Connection *connection, | |||
1592 | /* Incomplete buffer has been sent. | 1592 | /* Incomplete buffer has been sent. |
1593 | * Adjust buffer of the last element. */ | 1593 | * Adjust buffer of the last element. */ |
1594 | r_iov->iov[r_iov->sent].iov_base = | 1594 | r_iov->iov[r_iov->sent].iov_base = |
1595 | (void*) ((uint8_t*) r_iov->iov[r_iov->sent].iov_base + (size_t) res); | 1595 | (void *) ((uint8_t *) r_iov->iov[r_iov->sent].iov_base + (size_t) res); |
1596 | r_iov->iov[r_iov->sent].iov_len -= res; | 1596 | r_iov->iov[r_iov->sent].iov_len -= res; |
1597 | 1597 | ||
1598 | return total_sent; | 1598 | return total_sent; |