Keep the size of the structure the same in non-SSL build

PUBLISHED_FROM=8f93bee72bc18efff64354203ee6268f4f8e8768
This commit is contained in:
Deomid "rojer" Ryabkov authored and Cesanta Bot committed 2020-01-31 11:01:35 +00:00
1 parent f00b3a2b3a
commit 7153690016
3 files changed
+6

No files matched your search

@@ -61,6 +61,8 @@ signature: |
#if MG_ENABLE_SSL
void *ssl_if_data; /* SSL library data. */
#else
void *unused_ssl_if_data; /* To keep the size of the structure the same. */
#endif
};
---
+2
View File
@@ -3635,6 +3635,8 @@ struct mg_connection {
#if MG_ENABLE_SSL
void *ssl_if_data; /* SSL library data. */
#else
void *unused_ssl_if_data; /* To keep the size of the structure the same. */
#endif
};
+2
View File
@@ -155,6 +155,8 @@ struct mg_connection {
#if MG_ENABLE_SSL
void *ssl_if_data; /* SSL library data. */
#else
void *unused_ssl_if_data; /* To keep the size of the structure the same. */
#endif
};