Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iotivity-lite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
31
Issues
31
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
IoTivity
iotivity-lite
Commits
3e0e179c
Commit
3e0e179c
authored
Aug 24, 2020
by
Kishen Maloor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coap/engine: fix code block
Signed-off-by:
Kishen Maloor
<
kishen.maloor@intel.com
>
parent
1b0906a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
messaging/coap/engine.c
messaging/coap/engine.c
+9
-8
No files found.
messaging/coap/engine.c
View file @
3e0e179c
...
...
@@ -219,8 +219,9 @@ coap_receive(oc_message_t *msg)
#endif
/* OC_TCP */
{
transaction
=
coap_get_transaction_by_mid
(
message
->
mid
);
if
(
transaction
)
if
(
transaction
)
{
coap_clear_transaction
(
transaction
);
}
transaction
=
NULL
;
}
...
...
@@ -813,13 +814,13 @@ send_message:
}
}
#endif
/* OC_CLIENT && OC_BLOCK_WISE */
transaction
->
message
->
length
=
coap_serialize_message
(
response
,
transaction
->
message
->
data
);
if
(
transaction
->
message
->
length
>
0
)
{
coap_send_transaction
(
transaction
);
}
else
{
coap_clear_transaction
(
transaction
);
}
}
transaction
->
message
->
length
=
coap_serialize_message
(
response
,
transaction
->
message
->
data
);
if
(
transaction
->
message
->
length
>
0
)
{
coap_send_transaction
(
transaction
);
}
else
{
coap_clear_transaction
(
transaction
);
}
}
...
...
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