Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
e116c48b
Commit
e116c48b
authored
Jan 29, 2018
by
Julien Ammous
Committed by
Cesanta Bot
Jan 30, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant initialization
CL: none PUBLISHED_FROM=9d68cdc298c520798468b43a19c84251bd0c21b4
parent
7d7bb3b3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
mqtt_broker.c
examples/mqtt_broker/mqtt_broker.c
+0
-1
No files found.
examples/mqtt_broker/mqtt_broker.c
View file @
e116c48b
...
@@ -31,7 +31,6 @@ int main(void) {
...
@@ -31,7 +31,6 @@ int main(void) {
struct
mg_mqtt_broker
brk
;
struct
mg_mqtt_broker
brk
;
mg_mgr_init
(
&
mgr
,
NULL
);
mg_mgr_init
(
&
mgr
,
NULL
);
mg_mqtt_broker_init
(
&
brk
,
NULL
);
if
((
c
=
mg_bind
(
&
mgr
,
s_listening_address
,
ev_handler
))
==
NULL
)
{
if
((
c
=
mg_bind
(
&
mgr
,
s_listening_address
,
ev_handler
))
==
NULL
)
{
fprintf
(
stderr
,
"mg_bind(%s) failed
\n
"
,
s_listening_address
);
fprintf
(
stderr
,
"mg_bind(%s) failed
\n
"
,
s_listening_address
);
...
...
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