[PATCH] [channels.c] Remove wrong channel_new() comment

Ángel González keisial at gmail.com
Mon Mar 24 10:12:22 EST 2014


channel_new() doesn't free remote_name since 2003/05/11 20:30:25

(git commit b1ca8bb)
---
   ChangeLog  | 4 ++++
   channels.c | 3 +--
   2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4e6b8b2..8f203aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20140323
+ - [channels.c] Remove wrong channel_new() comment
+   channel_new doesn't free remote_name since 2003/05/11 20:30:25
+
   20140317
    - (djm) [sandbox-seccomp-filter.c] Soft-fail stat() syscalls. Add XXX to
      remind myself to add sandbox violation logging via the log socket.
diff --git a/channels.c b/channels.c
index 9efe89c..72f166d 100644
--- a/channels.c
+++ b/channels.c
@@ -265,8 +265,7 @@ channel_register_fds(Channel *c, int rfd, int wfd, 
int efd,
   }
    /*
- * Allocate a new channel object and set its type and socket. This will 
cause
- * remote_name to be freed.
+ * Allocate a new channel object and set its type and socket.
    */
   Channel *
   channel_new(char *ctype, int type, int rfd, int wfd, int efd,

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Parte del mensaje adjunto
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20140324/a71ac4ae/attachment.ksh>


More information about the openssh-unix-dev mailing list