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

Archive Index This month's Index

Subject: Re: [PATCH] Implement libssh2_trace_sethandler(), allows trace output to be captured

Re: [PATCH] Implement libssh2_trace_sethandler(), allows trace output to be captured

From: Dave McCaldon <davem_at_intersystems.com>
Date: Fri, 15 Jan 2010 17:22:06 -0500

On Jan 15, 2010, at 5:01 PM, Daniel Stenberg wrote:

> On Tue, 3 Nov 2009, Dave McCaldon wrote:
>
>> I do pass the LIBSSH2_SESSION pointer to allow the user to distinguish between different sessions, but you're right in that there would need to be a map from session to user data.
>>
>> Attached is an update that adds a void* context to the libssh2_trace_sethandler() mechanism. I'm a bit new to git, so it looks like it builds on the previous patches. I'm not sure how to coalesce these into a single "squashed" patch ... if it's not ok in this format, let me know.
>
> Argh, I messed up and committed the earlier version of your patch just now. Could you please see if you can make a separate patch aginst current git that adds this void* context?

Sure, let me take a look.

> Sorry for that.

No problem!

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-01-15

the libssh2 team