www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: [PATCH] - datacount

Re: [PATCH] - datacount

From: Mikhail Gusarov <dottedmag_at_dottedmag.net>
Date: Wed, 13 Aug 2014 15:42:12 +0200

Hi Lubos,

> /* Hostkey Types */
> -#define LIBSSH2_HOSTKEY_TYPE_UNKNOWN 0
> -#define LIBSSH2_HOSTKEY_TYPE_RSA 1
> -#define LIBSSH2_HOSTKEY_TYPE_DSS 2
> +#define LIBSSH2_HOSTKEY_TYPE_UNKNOWN 0
> +#define LIBSSH2_HOSTKEY_TYPE_RSA 1
> +#define LIBSSH2_HOSTKEY_TYPE_DSS 2

Please remove this hunk.

> +LIBSSH2_API long long
> +libssh2_session_send_data(LIBSSH2_SESSION *session){
> + long long send;
> + send = session->send_data;
> + session->send_data = 0;
> + return send;
> +}
> \ No newline at end of file

And add a missing newline.
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2014-08-13

the libssh2 team