diff options
author | James Booth <boothj5@gmail.com> | 2016-05-06 01:49:27 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-05-06 01:49:27 +0100 |
commit | b6c4a2029ff34a8f0824c5241508fbd550044c21 (patch) | |
tree | f0a1aabf37bdf6b8ac11afeb640744041665a451 /src/command/commands.c | |
parent | 8950dbb768cc29d8ed020a1355c7733275aaf998 (diff) | |
download | profani-tty-b6c4a2029ff34a8f0824c5241508fbd550044c21.tar.gz |
Move conn is secure function
Diffstat (limited to 'src/command/commands.c')
-rw-r--r-- | src/command/commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index 8354465f..b7314871 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -232,7 +232,7 @@ cmd_tls_trust(ProfWin *window, const char *const command, gchar **args) cons_show("You are not currently connected."); return TRUE; } - if (!session_conn_is_secured()) { + if (!connection_conn_is_secured()) { cons_show("No TLS connection established"); return TRUE; } @@ -330,7 +330,7 @@ cmd_tls_cert(ProfWin *window, const char *const command, gchar **args) cons_show("You are not currently connected."); return TRUE; } - if (!session_conn_is_secured()) { + if (!connection_conn_is_secured()) { cons_show("No TLS connection established"); return TRUE; } |