summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2021-10-11 15:14:46 +0800
committerMatt Johnston <matt@ucc.asn.au>2021-10-11 15:14:46 +0800
commit7c2470ba3a4623aaec19d3eb02d967d4f74e17c1 (patch)
treecfa6b2dfa3a1ff8f4be478a007132540f09ddaa5
parentcc59c08605a601f8b31baa92bd675b1c411bd53d (diff)
downloaddropbear-7c2470ba3a4623aaec19d3eb02d967d4f74e17c1.tar.gz
Fix some outdated comments
-rw-r--r--common-channel.c2
-rw-r--r--svr-session.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/common-channel.c b/common-channel.c
index 52def47..52fc4f4 100644
--- a/common-channel.c
+++ b/common-channel.c
@@ -1151,7 +1151,7 @@ int send_msg_channel_open_init(int fd, const struct ChanType *type) {
return DROPBEAR_SUCCESS;
}
-/* Confirmation that our channel open request (for forwardings) was
+/* Confirmation that our channel open request was
* successful*/
void recv_msg_channel_open_confirmation() {
diff --git a/svr-session.c b/svr-session.c
index 6898828..dac7de2 100644
--- a/svr-session.c
+++ b/svr-session.c
@@ -201,8 +201,7 @@ void svr_session(int sock, int childpipe) {
}
#endif
- /* Run the main for loop. NULL is for the dispatcher - only the client
- * code makes use of it */
+ /* Run the main for-loop. */
session_loop(svr_chansess_checksignal);
/* Not reached */