Jelajahi Sumber

fix tipo: `MHD_FEATURE_MESSGES` -> `MHD_FEATURE_MESSAGES`.

silvioprog 9 tahun lalu
induk
melakukan
dd95c307b2
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 1 1
      src/include/microhttpd.h
  2. 1 1
      src/microhttpd/daemon.c

+ 1 - 1
src/include/microhttpd.h

@@ -3112,7 +3112,7 @@ enum MHD_FEATURE
    * Get whether messages are supported. If supported then in debug
    * mode messages can be printed to stderr or to external logger.
    */
-  MHD_FEATURE_MESSGES = 1,
+  MHD_FEATURE_MESSAGES = 1,
 
   /**
    * Get whether HTTPS is supported.  If supported then flag

+ 1 - 1
src/microhttpd/daemon.c

@@ -6002,7 +6002,7 @@ MHD_is_feature_supported(enum MHD_FEATURE feature)
 {
   switch(feature)
     {
-    case MHD_FEATURE_MESSGES:
+    case MHD_FEATURE_MESSAGES:
 #ifdef HAVE_MESSAGES
       return MHD_YES;
 #else