Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
openairinterface5G
Commits
227a0640
Commit
227a0640
authored
6 years ago
by
frtabu
Browse files
Options
Downloads
Patches
Plain Diff
first set of cppcheck fixes
parent
501ae74c
No related branches found
No related tags found
5 merge requests
!650
Release v1.1.0 Candidate
,
!588
Develop nr merge
,
!508
Develop integration 2019 week 07 v2
,
!507
Develop integration 2019 week 07
,
!493
first set of cppcheck fixes
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/utils/telnetsrv/telnetsrv.c
+0
-2
0 additions, 2 deletions
common/utils/telnetsrv/telnetsrv.c
with
0 additions
and
2 deletions
common/utils/telnetsrv/telnetsrv.c
+
0
−
2
View file @
227a0640
...
...
@@ -357,7 +357,6 @@ int setgetvar(int moduleindex,char getorset,char *params) {
memset
(
varname
,
0
,
sizeof
(
varname
));
n
=
sscanf
(
params
,
"%19s %ms"
,
varname
,
&
varval
);
for
(
i
=
0
;
telnetparams
.
CmdParsers
[
moduleindex
].
var
[
i
].
varvalptr
!=
NULL
;
i
++
)
{
if
(
strncasecmp
(
telnetparams
.
CmdParsers
[
moduleindex
].
var
[
i
].
varname
,
varname
,
strlen
(
telnetparams
.
CmdParsers
[
moduleindex
].
var
[
i
].
varname
))
==
0
)
{
if
(
n
>
0
&&
(
getorset
==
'g'
||
getorset
==
'G'
))
{
...
...
@@ -478,7 +477,6 @@ int process_command(char *buf) {
rt
=
CMDSTATUS_NOTFOUND
;
j
=
sscanf
(
buf
,
"%9s %9s %2000[^
\t\n
]"
,
modulename
,
cmd
,
cmdb
);
if
(
telnetparams
.
telnetdbg
>
0
)
printf
(
"process_command: %i words, module=%s cmd=%s, parameters= %s
\n
"
,
j
,
modulename
,
cmd
,
cmdb
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment