Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matt Johnston
dropbear
Commits
9f674382
Commit
9f674382
authored
Nov 18, 2016
by
Matt Johnston
Committed by
GitHub
Nov 18, 2016
Browse files
Merge pull request #27 from fperrad/20160325_lint
more linting
parents
6830a659
0d9c3fe7
Changes
3
Hide whitespace changes
Inline
Side-by-side
cli-tcpfwd.c
View file @
9f674382
...
...
@@ -234,7 +234,7 @@ static int newtcpforwarded(struct Channel * channel) {
char
*
origaddr
=
NULL
;
unsigned
int
origport
;
m_list_elem
*
iter
=
NULL
;
struct
TCPFwdEntry
*
fwd
;
struct
TCPFwdEntry
*
fwd
=
NULL
;
char
portstring
[
NI_MAXSERV
];
int
err
=
SSH_OPEN_ADMINISTRATIVELY_PROHIBITED
;
...
...
@@ -265,7 +265,7 @@ static int newtcpforwarded(struct Channel * channel) {
}
if
(
iter
==
NULL
)
{
if
(
iter
==
NULL
||
fwd
==
NULL
)
{
/* We didn't request forwarding on that port */
cleantext
(
origaddr
);
dropbear_log
(
LOG_INFO
,
"Server sent unrequested forward from
\"
%s:%d
\"
"
,
...
...
common-channel.c
View file @
9f674382
...
...
@@ -32,7 +32,6 @@
#include "circbuffer.h"
#include "dbutil.h"
#include "channel.h"
#include "ssh.h"
#include "listener.h"
#include "runopts.h"
#include "netio.h"
...
...
svr-chansession.c
View file @
9f674382
...
...
@@ -634,7 +634,7 @@ static void make_connection_string(struct ChanSess *chansess) {
static
int
sessioncommand
(
struct
Channel
*
channel
,
struct
ChanSess
*
chansess
,
int
iscmd
,
int
issubsys
)
{
unsigned
int
cmdlen
;
unsigned
int
cmdlen
=
0
;
int
ret
;
TRACE
((
"enter sessioncommand"
))
...
...
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