Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
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
wangjie
OpenXG-RAN
Commits
1fbc356f
Commit
1fbc356f
authored
Nov 13, 2019
by
masayuki.harada
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove command length limitation in telnetsrv.c
parent
685b2f74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
common/utils/telnetsrv/telnetsrv.c
common/utils/telnetsrv/telnetsrv.c
+1
-1
No files found.
common/utils/telnetsrv/telnetsrv.c
View file @
1fbc356f
...
...
@@ -510,7 +510,7 @@ int process_command(char *buf) {
memset
(
cmdb
,
0
,
sizeof
(
cmdb
));
bufbck
=
strdup
(
buf
);
rt
=
CMDSTATUS_NOTFOUND
;
j
=
sscanf
(
buf
,
"%9s %9s %
9
[^
\t\n
]"
,
modulename
,
cmd
,
cmdb
);
j
=
sscanf
(
buf
,
"%9s %9s %
64
[^
\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
);
...
...
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