Subject: Re: [PATCH 2/2] - Expose line number from known_hosts file for better error reporting

Re: [PATCH 2/2] - Expose line number from known_hosts file for better error reporting

From: Fritz Elfert <fritz_at_fritz-elfert.de>
Date: Fri, 23 Dec 2011 05:27:22 +0100

On 12/23/2011 05:11 AM, Fritz Elfert wrote:
> Hi guys. me again ;)
>
> Here's a patch to expose the line number from reading the known_hosts file.
> With this applied, you now can write something like this (like openssh):
>
[...]
Just forgot to mention:
This patch changes the API in an incompatible way. If that's undesired,
I probably can come up with a some wrapper macro named
libssh2_knownhost_readline (renaming libssh2_knownhost_readline to
libssh2_knownhost_readline_ex). Not shure, what to do about the
added int in struct libssh2_knownhost though...

Cheers
 -Fritz
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-12-23