Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
mongoose
Commits
71536900
Commit
71536900
authored
Jan 31, 2020
by
Deomid "rojer" Ryabkov
Committed by
Cesanta Bot
Jan 31, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keep the size of the structure the same in non-SSL build
PUBLISHED_FROM=8f93bee72bc18efff64354203ee6268f4f8e8768
parent
f00b3a2b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
struct_mg_connection.md
docs/c-api/mg_net.h/struct_mg_connection.md
+2
-0
mongoose.h
mongoose.h
+2
-0
mg_net.h
src/mg_net.h
+2
-0
No files found.
docs/c-api/mg_net.h/struct_mg_connection.md
View file @
71536900
...
...
@@ -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
};
---
...
...
mongoose.h
View file @
71536900
...
...
@@ -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
};
...
...
src/mg_net.h
View file @
71536900
...
...
@@ -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
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment