Sfoglia il codice sorgente

Use symbolic constant instead of numeric

bel2125 7 anni fa
parent
commit
44174c8371
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -18782,7 +18782,7 @@ mg_init_library(unsigned features)
 			} else {
 				(void)ebuf;
 				DEBUG_TRACE("Initializing SSL failed: %s", ebuf);
-				features_inited &= ~(2u);
+				features_inited &= ~((unsigned)(MG_FEATURES_SSL));
 			}
 		} else {
 			/* ssl already initialized */