aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-11-04 17:02:56 +0100
committerChristian Grothoff <christian@grothoff.org>2016-11-04 17:02:56 +0100
commitd7392e0882eb7b1cc559d25849204c966a5091ef (patch)
tree5dd02bc50e3f95ea1b7b385ced64f207869be87a /src/include
parentca582a0633be1d06210ad5eefca753f8e87d6211 (diff)
downloadlibmicrohttpd-d7392e0882eb7b1cc559d25849204c966a5091ef.tar.gz
libmicrohttpd-d7392e0882eb7b1cc559d25849204c966a5091ef.zip
all flags start with MHD_USE_, rename MHD_ALLOW_UPGRADE to MHD_USE_UPGRADE for consistency
Diffstat (limited to 'src/include')
-rw-r--r--src/include/microhttpd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 76348978..21d90fa2 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -690,7 +690,7 @@ enum MHD_FLAG
690 * "Upgrade" may require usage of additional internal resources, 690 * "Upgrade" may require usage of additional internal resources,
691 * which we do not want to use unless necessary. 691 * which we do not want to use unless necessary.
692 */ 692 */
693 MHD_ALLOW_UPGRADE = 32768 693 MHD_USE_UPGRADE = 32768
694 694
695}; 695};
696 696
@@ -2859,7 +2859,7 @@ enum MHD_FEATURE
2859 2859
2860 /** 2860 /**
2861 * Get whether HTTP "Upgrade" is supported. 2861 * Get whether HTTP "Upgrade" is supported.
2862 * If supported then #MHD_ALLOW_UPGRADE, #MHD_upgrade_action() and 2862 * If supported then #MHD_USE_UPGRADE, #MHD_upgrade_action() and
2863 * #MHD_create_response_for_upgrade() can be used. 2863 * #MHD_create_response_for_upgrade() can be used.
2864 */ 2864 */
2865 MHD_FEATURE_UPGRADE = 17 2865 MHD_FEATURE_UPGRADE = 17