aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-02-15 05:45:46 +0100
committerChristian Grothoff <christian@grothoff.org>2018-02-15 05:45:46 +0100
commit95b73ede3db48f665b580fbd19bd7646a60efb2f (patch)
treee55df547c46e474813e223af1a84306ec0ed4333
parent78dc7915f89198b472b9e10ee532f9971bcc0ada (diff)
downloadlibmicrohttpd-95b73ede3db48f665b580fbd19bd7646a60efb2f.tar.gz
libmicrohttpd-95b73ede3db48f665b580fbd19bd7646a60efb2f.zip
indentation fixes
-rw-r--r--src/microhttpd/daemon.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 541dab8a..9097d53d 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -776,8 +776,8 @@ urh_from_fdset (struct MHD_UpgradeResponseHandle *urh,
776 * @param p pollfd array to update 776 * @param p pollfd array to update
777 */ 777 */
778static void 778static void
779urh_update_pollfd(struct MHD_UpgradeResponseHandle *urh, 779urh_update_pollfd (struct MHD_UpgradeResponseHandle *urh,
780 struct pollfd p[2]) 780 struct pollfd p[2])
781{ 781{
782 p[0].events = 0; 782 p[0].events = 0;
783 p[1].events = 0; 783 p[1].events = 0;
@@ -817,12 +817,13 @@ urh_update_pollfd(struct MHD_UpgradeResponseHandle *urh,
817 * @param p pollfd array to set 817 * @param p pollfd array to set
818 */ 818 */
819static void 819static void
820urh_to_pollfd(struct MHD_UpgradeResponseHandle *urh, 820urh_to_pollfd (struct MHD_UpgradeResponseHandle *urh,
821 struct pollfd p[2]) 821 struct pollfd p[2])
822{ 822{
823 p[0].fd = urh->connection->socket_fd; 823 p[0].fd = urh->connection->socket_fd;
824 p[1].fd = urh->mhd.socket; 824 p[1].fd = urh->mhd.socket;
825 urh_update_pollfd(urh, p); 825 urh_update_pollfd (urh,
826 p);
826} 827}
827 828
828 829
@@ -832,8 +833,8 @@ urh_to_pollfd(struct MHD_UpgradeResponseHandle *urh,
832 * @param p 'poll()' processed pollfd. 833 * @param p 'poll()' processed pollfd.
833 */ 834 */
834static void 835static void
835urh_from_pollfd(struct MHD_UpgradeResponseHandle *urh, 836urh_from_pollfd (struct MHD_UpgradeResponseHandle *urh,
836 struct pollfd p[2]) 837 struct pollfd p[2])
837{ 838{
838 /* Reset read/write ready, preserve error state. */ 839 /* Reset read/write ready, preserve error state. */
839 urh->app.celi &= (~MHD_EPOLL_STATE_READ_READY & ~MHD_EPOLL_STATE_WRITE_READY); 840 urh->app.celi &= (~MHD_EPOLL_STATE_READ_READY & ~MHD_EPOLL_STATE_WRITE_READY);