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: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 15 Jan 2010 23:01:30 +0100 (CET)

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?

Sorry for that.

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

the libssh2 team