Subject: speeling error (and fix) in channel error message

speeling error (and fix) in channel error message

From: bch <brad.harder_at_gmail.com>
Date: Fri, 25 Mar 2016 16:10:34 -0700

--- libssh2/src/channel.c
+++ libssh2/src/channel.c
@@ -268,11 +268,11 @@
         if (session->open_data[0] == SSH_MSG_CHANNEL_OPEN_FAILURE) {
             unsigned int reason_code =
_libssh2_ntohu32(session->open_data + 5);
             switch (reason_code) {
             case SSH_OPEN_ADMINISTRATIVELY_PROHIBITED:
                 _libssh2_error(session, LIBSSH2_ERROR_CHANNEL_FAILURE,
- "Channel open failure
(admininstratively prohibited)");
+ "Channel open failure
(administratively prohibited)");
                 break;
             case SSH_OPEN_CONNECT_FAILED:
                 _libssh2_error(session, LIBSSH2_ERROR_CHANNEL_FAILURE,
                                "Channel open failure (connect failed)");
                 break;
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2016-03-26