Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF-Simple
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
CommunityXG
OpenXG-AMF-Simple
Commits
c76a573c
Commit
c76a573c
authored
Aug 20, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fix: print_buffer
parent
80b2835a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/common/comUt.hpp
src/common/comUt.hpp
+3
-1
No files found.
src/common/comUt.hpp
View file @
c76a573c
...
...
@@ -33,7 +33,7 @@
#include <string>
//------------------------------------------------------------------------------
void
print_buffer
(
const
std
::
string
app
,
const
std
::
string
mode
,
const
std
::
string
commit
,
uint8_t
*
buf
,
int
len
)
{
void
print_buffer
(
const
std
::
string
app
,
const
std
::
string
commit
,
uint8_t
*
buf
,
int
len
)
{
if
(
!
app
.
compare
(
"amf_app"
))
Logger
::
amf_app
().
debug
(
commit
.
c_str
());
if
(
!
app
.
compare
(
"amf_n1"
))
...
...
@@ -42,9 +42,11 @@ void print_buffer(const std::string app, const std::string mode, const std::stri
Logger
::
amf_server
().
debug
(
commit
.
c_str
());
if
(
!
app
.
compare
(
"amf_n11"
))
Logger
::
amf_n11
().
debug
(
commit
.
c_str
());
#if DEBUG_IS_ON
for
(
int
i
=
0
;
i
<
len
;
i
++
)
printf
(
"%x "
,
buf
[
i
]);
printf
(
"
\n
"
);
#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