mirror of
https://github.com/clearml/dropbear
synced 2025-02-01 19:34:11 +00:00
Fix unused make_connection_string() warning [-Werror=unused-function]
This function is used when USE_VFORK is unset.
This commit is contained in:
parent
3e91ec07e4
commit
ef0aac432c
@ -603,6 +603,7 @@ static int sessionpty(struct ChanSess * chansess) {
|
||||
return DROPBEAR_SUCCESS;
|
||||
}
|
||||
|
||||
#ifndef USE_VFORK
|
||||
static void make_connection_string(struct ChanSess *chansess) {
|
||||
char *local_ip, *local_port, *remote_ip, *remote_port;
|
||||
size_t len;
|
||||
@ -624,6 +625,7 @@ static void make_connection_string(struct ChanSess *chansess) {
|
||||
m_free(remote_ip);
|
||||
m_free(remote_port);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Handle a command request from the client. This is used for both shell
|
||||
* and command-execution requests, and passes the command to
|
||||
|
Loading…
Reference in New Issue
Block a user