Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
paho.mqtt.c
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eclipse
paho.mqtt.c
Commits
59d4da07
Unverified
Commit
59d4da07
authored
May 15, 2018
by
Ian Craggs
Committed by
GitHub
May 15, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #451 from Thalhammer/fix-printf-typo
Fix typo in printf format string
parents
89f227ce
50343f8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Heap.c
src/Heap.c
+1
-1
No files found.
src/Heap.c
View file @
59d4da07
...
@@ -360,7 +360,7 @@ static void HeapScan(enum LOG_LEVELS log_level)
...
@@ -360,7 +360,7 @@ static void HeapScan(enum LOG_LEVELS log_level)
{
{
storageElement
*
s
=
(
storageElement
*
)(
current
->
content
);
storageElement
*
s
=
(
storageElement
*
)(
current
->
content
);
Log
(
log_level
,
-
1
,
"Heap element size %d, line %d, file %s, ptr %p"
,
s
->
size
,
s
->
line
,
s
->
file
,
s
->
ptr
);
Log
(
log_level
,
-
1
,
"Heap element size %d, line %d, file %s, ptr %p"
,
s
->
size
,
s
->
line
,
s
->
file
,
s
->
ptr
);
Log
(
log_level
,
-
1
,
" Content %
*.
s"
,
(
10
>
current
->
size
)
?
s
->
size
:
10
,
(
char
*
)(((
int
*
)
s
->
ptr
)
+
1
));
Log
(
log_level
,
-
1
,
" Content %
.*
s"
,
(
10
>
current
->
size
)
?
s
->
size
:
10
,
(
char
*
)(((
int
*
)
s
->
ptr
)
+
1
));
}
}
Log
(
log_level
,
-
1
,
"Heap scan end"
);
Log
(
log_level
,
-
1
,
"Heap scan end"
);
Thread_unlock_mutex
(
heap_mutex
);
Thread_unlock_mutex
(
heap_mutex
);
...
...
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