On Wed, 16 Sep 2009, Neil Gierman wrote:

After reading some of the recent posts I tried using libssh2_trace in my windows application however Windows does not have a gettimeofday function that _libssh2_debug needs. Attached is the addition to misc.c that provides that function and works. This was copied from http://social.msdn.microsoft.com/forums/en/vcgeneral/thread/430449b3-f6dd-4e 18-84de-eebd26a8d668/

Thanks. Two things:

1 - Please make patches with diff -u or git when you send suggested changes,
    it makes life a lot easier to those who apply them

2 - This piece of code has no clear license so I don't think we can just
    incorporate it as-is.

--

 / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to